mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Stop Blackbox logging when flash fills up
This commit is contained in:
parent
80ea5e4419
commit
3b8e05fb46
5 changed files with 41 additions and 3 deletions
|
@ -1129,6 +1129,11 @@ void handleBlackbox(void)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
// Did we run out of room on the device? Stop!
|
||||
if (isBlackboxDeviceFull()) {
|
||||
blackboxSetState(BLACKBOX_STATE_STOPPED);
|
||||
}
|
||||
}
|
||||
|
||||
static bool canUseBlackboxWithCurrentConfiguration(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue