add defines for CANGROW_VER and CANGROW_BUILD if the werent set

This commit is contained in:
Marcus 2024-10-19 02:11:32 +02:00
parent 42d5939dbc
commit f918529e57

View file

@ -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];