mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Merge pull request #9453 from etracer65/use_blackbox_compiler_warning
Fix compiler warnings if USE_BLACKBOX is not defined
This commit is contained in:
commit
11e81a9bc8
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue