From 3836cc2a6e380f06e2c3e95fb9d02861a6ab77fc Mon Sep 17 00:00:00 2001 From: Raphael Assenat Date: Mon, 26 Oct 2015 23:33:39 -0400 Subject: [PATCH] Use different signature for stk525 build --- version.c | 7 ++++++- version.h | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) 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__