Browse Source

Use different signature for stk525 build

pull/5/head
Raphael Assenat 8 years ago
parent
commit
3836cc2a6e
  1. 7
      version.c
  2. 3
      version.h

7
version.c

@ -1,5 +1,10 @@ @@ -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

3
version.h

@ -1,6 +1,9 @@ @@ -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__

Loading…
Cancel
Save