VERSION macro was colliding with something
This commit is contained in:
parent
d38d3a8342
commit
6e497ad04e
@ -52,7 +52,7 @@
|
||||
#define SKIP_BUTTON_CHECK_WITH_DELAY 0
|
||||
#define SKIP_BUTTON_CHECK_FAST 1
|
||||
|
||||
#define SOLO_PRODUCT_NAME "Solo Bootloader " VERSION
|
||||
#define SOLO_PRODUCT_NAME "Solo Bootloader " SOLO_VERSION
|
||||
|
||||
void printing_init();
|
||||
void hw_init(void);
|
||||
|
@ -32,9 +32,9 @@
|
||||
|
||||
|
||||
#if defined(SOLO_HACKER)
|
||||
#define SOLO_PRODUCT_NAME "Solo Hacker " VERSION
|
||||
#define SOLO_PRODUCT_NAME "Solo Hacker " SOLO_VERSION
|
||||
#else
|
||||
#define SOLO_PRODUCT_NAME "Solo " VERSION
|
||||
#define SOLO_PRODUCT_NAME "Solo " SOLO_VERSION
|
||||
#endif
|
||||
|
||||
void printing_init();
|
||||
|
@ -10,15 +10,11 @@
|
||||
|
||||
#endif
|
||||
|
||||
#define BOOT_VERSION_MAJ 1
|
||||
#define BOOT_VERSION_MIN 0
|
||||
#define BOOT_VERSION_PATCH 0
|
||||
|
||||
#define __STR_HELPER(x) #x
|
||||
#define __STR(x) __STR_HELPER(x)
|
||||
|
||||
#ifndef VERSION
|
||||
#define VERSION __STR(SOLO_VERSION_MAJ) "." __STR(SOLO_VERSION_MIN) "." __STR(SOLO_VERSION_PATCH)
|
||||
#ifndef SOLO_VERSION
|
||||
#define SOLO_VERSION __STR(SOLO_VERSION_MAJ) "." __STR(SOLO_VERSION_MIN) "." __STR(SOLO_VERSION_PATCH)
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user