diff --git a/src/main/fc/core.c b/src/main/fc/core.c index 1cb1ef2d4af..d68fb7751ad 100644 --- a/src/main/fc/core.c +++ b/src/main/fc/core.c @@ -447,6 +447,8 @@ void disarm(flightLogDisarmReason_e reason) if (blackboxConfig()->device && blackboxConfig()->mode != BLACKBOX_MODE_ALWAYS_ON) { // Close the log upon disarm except when logging mode is ALWAYS ON blackboxFinish(); } +#else + UNUSED(reason); #endif BEEP_OFF; #ifdef USE_DSHOT