mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Fix MSP Flash FS supported (#5670)
This commit is contained in:
parent
f63edf1a39
commit
4e024f5467
3 changed files with 13 additions and 1 deletions
|
@ -111,6 +111,11 @@ bool flashfsIsReady(void)
|
|||
return m25p16_isReady();
|
||||
}
|
||||
|
||||
bool flashfsIsSupported(void)
|
||||
{
|
||||
return flashfsGetSize() > 0;
|
||||
}
|
||||
|
||||
uint32_t flashfsGetSize(void)
|
||||
{
|
||||
return m25p16_getGeometry()->totalSize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue