add defines for CANGROW_VER and CANGROW_BUILD if the werent set
This commit is contained in:
parent
42d5939dbc
commit
f918529e57
1 changed files with 10 additions and 0 deletions
|
@ -29,6 +29,16 @@
|
||||||
|
|
||||||
//#include "CanGrow_Version.h"
|
//#include "CanGrow_Version.h"
|
||||||
|
|
||||||
|
// ensure the code will also compile when CANGROW_VER and CANGROW_BUILD
|
||||||
|
// are not defined by the compiler arguments
|
||||||
|
#ifndef CANGROW_VER
|
||||||
|
#define CANGROW_VER "dev"
|
||||||
|
#endif
|
||||||
|
#ifndef CANGROW_BUILD
|
||||||
|
#define CANGROW_BUILD "0000"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
struct Config_WiFi {
|
struct Config_WiFi {
|
||||||
char ssid[32];
|
char ssid[32];
|
||||||
char password[64];
|
char password[64];
|
||||||
|
|
Loading…
Reference in a new issue