23 lines
532 B
C
23 lines
532 B
C
// version.h
|
|
|
|
#ifndef VERSION_H
|
|
#define VERSION_H
|
|
|
|
// Definiere Blockversionskonstanten
|
|
#define BLOCK_VERSION_RASPBERRY 0x10000000
|
|
#define BLOCK_VERSION_NOARM 0x20000000
|
|
#define BLOCK_VERSION_DEFAULT 0x00000000
|
|
|
|
// Dynamische Bestimmung der Blockversion
|
|
#ifdef TARGET_RASPBERRY
|
|
#define BLOCK_VERSION BLOCK_VERSION_RASPBERRY
|
|
#elif defined(TARGET_NOARM)
|
|
#define BLOCK_VERSION BLOCK_VERSION_NOARM
|
|
#else
|
|
#define BLOCK_VERSION BLOCK_VERSION_DEFAULT
|
|
#endif
|
|
|
|
//int get_dynamic_block_version();
|
|
|
|
#endif // VERSION_H
|