mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 15:55:48 +03:00
Protection to ensure only one or the other is initialised in regards to blackbox (for BlueJayF4)
This commit is contained in:
parent
ff40e8c844
commit
4b799ada5e
4 changed files with 20 additions and 8 deletions
|
@ -1657,7 +1657,8 @@ void handleBlackbox(timeUs_t currentTimeUs)
|
|||
|
||||
static bool canUseBlackboxWithCurrentConfiguration(void)
|
||||
{
|
||||
return feature(FEATURE_BLACKBOX);
|
||||
return feature(FEATURE_BLACKBOX) &&
|
||||
(blackboxConfig()->device != BLACKBOX_SDCARD || feature(FEATURE_SDCARD));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue