diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index c039f82cb..cb75fd2b9 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -2061,8 +2061,10 @@ void evalFunctions() #if defined(SDCARD) case FUNC_LOGS: - newActiveFunctions |= (1 << FUNCTION_LOGS); - logDelay = CFN_PARAM(sd); + if (CFN_PARAM(sd)) { + newActiveFunctions |= (1 << FUNCTION_LOGS); + logDelay = CFN_PARAM(sd); + } break; #endif