Avoids the double negation WATCHDOG_DISABLED=NO

This commit is contained in:
Bertrand Songis
2019-09-07 13:40:53 +02:00
parent d681ba424a
commit 36395c2f8e
6 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -32,7 +32,7 @@ option(AUTOSOURCE "Automatic source detection in menus" ON)
option(AUTOSWITCH "Automatic switch detection in menus" ON)
option(SEMIHOSTING "Enable debugger semihosting" OFF)
option(JITTER_MEASURE "Enable ADC jitter measurement" OFF)
option(WATCHDOG_DISABLED "Disable hardware Watchdog" OFF)
option(WATCHDOG "Enable hardware Watchdog" ON)
if(SDL_FOUND)
option(SIMU_AUDIO "Enable simulator audio." ON)
endif()
@@ -233,8 +233,8 @@ if(JITTER_MEASURE)
add_definitions(-DJITTER_MEASURE)
endif()
if(WATCHDOG_DISABLED)
add_definitions(-DWATCHDOG_DISABLED)
if(WATCHDOG)
add_definitions(-DWATCHDOG)
endif()
if(SIMU_AUDIO)