mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 05:45:31 +03:00
Don't close blackbox log on disarm if mode is ALWAYS_ON (#5341)
This commit is contained in:
parent
66dac7a2e3
commit
33ee5efa17
3 changed files with 7 additions and 7 deletions
|
@ -280,7 +280,7 @@ void disarm(void)
|
|||
DISABLE_ARMING_FLAG(ARMED);
|
||||
|
||||
#ifdef USE_BLACKBOX
|
||||
if (blackboxConfig()->device) {
|
||||
if (blackboxConfig()->device && blackboxConfig()->mode != BLACKBOX_MODE_ALWAYS_ON) { // Close the log upon disarm except when logging mode is ALWAYS ON
|
||||
blackboxFinish();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue