Use different signature for stk525 build

pull/5/head
Raphael Assenat 2015-10-26 23:33:39 -04:00
parent ba93485172
commit 3836cc2a6e
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,10 @@
#include <avr/pgmspace.h>
#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

View File

@ -1,6 +1,9 @@
#ifndef _version_h__
#define _version_h__
#include <avr/pgmspace.h>
extern const char *g_version;
extern const char g_signature[] PROGMEM;
#endif // _version_h__