1
0
Fork 0
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:
Charles K Stevenson 2018-03-03 17:48:09 -05:00 committed by Michael Keller
parent 66dac7a2e3
commit 33ee5efa17
3 changed files with 7 additions and 7 deletions

View file

@ -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