Add handling for JumperRC versions (#7015)
This commit is contained in:
@@ -328,6 +328,10 @@ if(MODULE_PROTOCOL_D8)
|
||||
add_definitions(-DMODULE_PROTOCOL_D8)
|
||||
endif()
|
||||
|
||||
if(JUMPER_RELEASE)
|
||||
add_definitions(-DJUMPER_RELEASE)
|
||||
endif()
|
||||
|
||||
if(FRSKY_RELEASE)
|
||||
add_definitions(-DFRSKY_RELEASE)
|
||||
set(POPUP_LEVEL 3)
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
#define DATE "@DATE@"
|
||||
#define TIME "@TIME@"
|
||||
#if defined(FRSKY_RELEASE)
|
||||
#define VERSION "FrSky"
|
||||
#elif defined(JUMPER_RELEASE)
|
||||
#define VERSION "JumperRC"
|
||||
#else
|
||||
#define VERSION "@VERSION@"
|
||||
#endif
|
||||
|
||||
#define VERSION_MAJOR @VERSION_MAJOR@
|
||||
#define VERSION_MINOR @VERSION_MINOR@
|
||||
|
||||
Reference in New Issue
Block a user