mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Call flashfsIsSupported instead of flashfsIsReady to check flash chip existence
This commit is contained in:
parent
8e9e757448
commit
9d1e4db800
4 changed files with 11 additions and 3 deletions
|
@ -1275,7 +1275,7 @@ static void osdGetBlackboxStatusString(char * buff)
|
|||
|
||||
#ifdef USE_FLASHFS
|
||||
case BLACKBOX_DEVICE_FLASH:
|
||||
storageDeviceIsWorking = flashfsIsReady();
|
||||
storageDeviceIsWorking = flashfsIsSupported();
|
||||
if (storageDeviceIsWorking) {
|
||||
const flashGeometry_t *geometry = flashfsGetGeometry();
|
||||
storageTotal = geometry->totalSize / 1024;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue