ASTERISK option added
This commit is contained in:
@@ -33,6 +33,7 @@ option(AUTOSWITCH "Automatic switch detection in menus" ON)
|
|||||||
option(SEMIHOSTING "Enable debugger semihosting" OFF)
|
option(SEMIHOSTING "Enable debugger semihosting" OFF)
|
||||||
option(JITTER_MEASURE "Enable ADC jitter measurement" OFF)
|
option(JITTER_MEASURE "Enable ADC jitter measurement" OFF)
|
||||||
option(WATCHDOG "Enable hardware Watchdog" ON)
|
option(WATCHDOG "Enable hardware Watchdog" ON)
|
||||||
|
option(ASTERISK "Enable asterisk icon (test only firmware)" OFF)
|
||||||
if(SDL_FOUND)
|
if(SDL_FOUND)
|
||||||
option(SIMU_AUDIO "Enable simulator audio." ON)
|
option(SIMU_AUDIO "Enable simulator audio." ON)
|
||||||
endif()
|
endif()
|
||||||
@@ -235,6 +236,10 @@ if(JITTER_MEASURE)
|
|||||||
add_definitions(-DJITTER_MEASURE)
|
add_definitions(-DJITTER_MEASURE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(ASTERISK)
|
||||||
|
add_definitions(-DASTERISK)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(WATCHDOG)
|
if(WATCHDOG)
|
||||||
add_definitions(-DWATCHDOG)
|
add_definitions(-DWATCHDOG)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
+1
-1
@@ -1392,7 +1392,7 @@ extern uint8_t latencyToggleSwitch;
|
|||||||
|
|
||||||
inline bool isAsteriskDisplayed()
|
inline bool isAsteriskDisplayed()
|
||||||
{
|
{
|
||||||
#if defined(LOG_TELEMETRY) || !defined(WATCHDOG) || defined(DEBUG_LATENCY)
|
#if defined(ASTERISK) || !defined(WATCHDOG) || defined(LOG_TELEMETRY) || defined(DEBUG_LATENCY)
|
||||||
return true;
|
return true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user