mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Minor fix for flushing behaviour on dataflash
This commit is contained in:
parent
d628bc6dcd
commit
5f29eed017
5 changed files with 25 additions and 30 deletions
|
@ -555,6 +555,7 @@ bool flashfsIsEOF() {
|
|||
*/
|
||||
void flashfsInit()
|
||||
{
|
||||
// If we have a flash chip present at all
|
||||
if (flashfsGetSize() > 0) {
|
||||
// Start the file pointer off at the beginning of free space so caller can start writing immediately
|
||||
flashfsSeekAbs(flashfsIdentifyStartOfFreeSpace());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue