Skip to content

SDFS File::flush() appears to do nothing #1293

Closed
@everslick

Description

@everslick

I have a long running process that regularly appends data to a file on SD card and calls flush() on it afterwards. Still when I open the very same file and read its content it has no data appended nor its file size updated. When I close the file between writes, the data is there though. The exact same code works as expected when the file lifes on SPIFFS. So I assume that SD flush() is either not implemented or is buggy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions