Browse Source

Use different signature for stk525 build

pull/5/head
Raphael Assenat 6 years ago
parent
commit
3836cc2a6e
2 changed files with 9 additions and 1 deletions
  1. +6
    -1
      version.c
  2. +3
    -0
      version.h

+ 6
- 1
version.c 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

+ 3
- 0
version.h 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__

Loading…
Cancel
Save