mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Adding blackbox device setting and basic flashfs support for it
This commit is contained in:
parent
f9e22a0461
commit
5a57dda665
7 changed files with 110 additions and 40 deletions
|
@ -605,6 +605,10 @@ static void validateBlackboxConfig()
|
|||
masterConfig.blackbox_rate_num /= div;
|
||||
masterConfig.blackbox_rate_denom /= div;
|
||||
}
|
||||
|
||||
if (!(masterConfig.blackbox_device == BLACKBOX_DEVICE_SERIAL || masterConfig.blackbox_device == BLACKBOX_DEVICE_FLASH)) {
|
||||
masterConfig.blackbox_device = BLACKBOX_DEVICE_SERIAL;
|
||||
}
|
||||
}
|
||||
|
||||
void startBlackbox(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue