1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Clean shutdown of blackbox (allows us to write "log completed" event)

This commit is contained in:
Nicholas Sherlock 2015-01-16 10:45:01 +13:00
parent d2e6742917
commit a61f7eeddf
4 changed files with 130 additions and 19 deletions

View file

@ -311,9 +311,6 @@ void mwDisarm(void)
#ifdef BLACKBOX
if (feature(FEATURE_BLACKBOX)) {
finishBlackbox();
if (isSerialPortFunctionShared(FUNCTION_BLACKBOX, FUNCTION_MSP)) {
mspAllocateSerialPorts(&masterConfig.serialConfig);
}
}
#endif
}