change product name, include version string

This commit is contained in:
Conor Patrick
2019-02-12 13:59:16 -05:00
parent a6446e67bc
commit d23bf0a144
3 changed files with 25 additions and 17 deletions

View File

@ -43,6 +43,16 @@
// #define DISABLE_CTAPHID_PING
// #define DISABLE_CTAPHID_WINK
// #define DISABLE_CTAPHID_CBOR
#define SOLO_VERSION_MAJ 1
#define SOLO_VERSION_MIN 0
#define __STR_HELPER(x) #x
#define __STR(x) __STR_HELPER(x)
#if defined(SOLO_HACKER)
#define SOLO_PRODUCT_NAME "Solo Hacker " __STR(SOLO_VERSION_MAJ) "." __STR(SOLO_VERSION_MIN)
#else
#define SOLO_PRODUCT_NAME "Solo " __STR(SOLO_VERSION_MAJ) "." __STR(SOLO_VERSION_MIN)
#endif
void printing_init();
void hw_init(void);