SPORT_FILE_LOG renamed to LOG_TELEMETRY. And logs are now stored in telemetry.log

This commit is contained in:
Bertrand Songis
2016-01-30 12:58:00 +01:00
parent 3913a36aeb
commit c36acc5372
5 changed files with 51 additions and 51 deletions
+3 -3
View File
@@ -348,7 +348,7 @@ if(ARCH STREQUAL ARM)
option(TIMERS "Timers count" 2)
option(CLI "Command Line Interface" OFF)
option(DEBUG "Debug mode" OFF)
option(SPORT_FILE_LOG "S.PORT Logs on SD card" OFF)
option(LOG_TELEMETRY "Telemetry Logs on SD card" OFF)
option(TRACE_SD_CARD "Traces SD enabled" OFF)
option(TRACE_FATFS "Traces FatFS enabled" OFF)
option(TRACE_AUDIO "Traces audio enabled" OFF)
@@ -359,8 +359,8 @@ if(ARCH STREQUAL ARM)
else()
add_definitions(-DTIMERS=2)
endif()
if(SPORT_FILE_LOG)
add_definitions(-DSPORT_FILE_LOG)
if(LOG_TELEMETRY)
add_definitions(-DLOG_TELEMETRY)
endif()
if(TRACE_SD_CARD)
add_definitions(-DTRACE_SD_CARD)