firmware - define CANGROW_VER and CANGROW_BUILD defaults, when not defined by compiler flag
With the recent change of defining CANGROW_VER and CANGROW_BUILD as compiler flag and not within CanGrow_Version.h building from Arduino IDE broke. So I define defaults to them, when not defined by the compiler
This commit is contained in:
parent
f920d6509d
commit
4fe57dff56
1 changed files with 9 additions and 0 deletions
|
@ -56,6 +56,15 @@
|
||||||
#include "CanGrow_SysFunctions.h"
|
#include "CanGrow_SysFunctions.h"
|
||||||
#include "CanGrow_WebFunctions.h"
|
#include "CanGrow_WebFunctions.h"
|
||||||
|
|
||||||
|
// set CANGROW_VER and CANGROW_BUILD if not already done as Compiler Flag
|
||||||
|
#ifndef CANGROW_VER
|
||||||
|
#define CANGROW_VER "v0.1.0-dev"
|
||||||
|
#endif
|
||||||
|
#ifndef CANGROW_BUILD
|
||||||
|
#define CANGROW_BUILD "1a2b3c4f"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Setup
|
* Setup
|
||||||
|
|
Loading…
Reference in a new issue