diff --git a/version.c b/version.c index 557b3cb..06606f8 100644 --- a/version.c +++ b/version.c @@ -1,5 +1,10 @@ #include #include "version.h" + const char *g_version = VERSIONSTR; // From Makefile -const char signature[] PROGMEM = "9c3ea8b8-753f-11e5-a0dc-001bfca3c593"; +#ifdef STK525 +const char g_signature[] PROGMEM = "e106420a-7c54-11e5-ae9a-001bfca3c593"; +#else +const char g_signature[] PROGMEM = "9c3ea8b8-753f-11e5-a0dc-001bfca3c593"; +#endif diff --git a/version.h b/version.h index d60bb4a..12cd1da 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,9 @@ #ifndef _version_h__ #define _version_h__ +#include + extern const char *g_version; +extern const char g_signature[] PROGMEM; #endif // _version_h__