You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.
FAT_FS__CACHE_FLUSH_TIMEOUT_USEC is #define FAT_FS__CACHE_FLUSH_TIMEOUT_USEC (6010001000) in FAT_FS.h. In the Windows platform_selector this default is over ridden to 5 seconds.
Its primary purpose appears to be to Enqueue a callback to FlushAll() after the timeout in FAT_SectorCache.cpp
Can one use 100 milliseconds or even shorter? Risks?
Can one safely cancel a queued call to FlushAll if the application explicitly calls FlushAll?
I am trying to avoid these unscheduled calls to FlushAll() as I need to avoid unexpected use of the SPI bus when the application is using it for other purposes. I have an SD card attached to the SPI bus and my application called FlushAll after it modified the files on the SD card.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
FAT_FS__CACHE_FLUSH_TIMEOUT_USEC is #define FAT_FS__CACHE_FLUSH_TIMEOUT_USEC (6010001000) in FAT_FS.h. In the Windows platform_selector this default is over ridden to 5 seconds.
Its primary purpose appears to be to Enqueue a callback to FlushAll() after the timeout in FAT_SectorCache.cpp
Why is 60 seconds selected? (or 5 for Windows)
Can one use 100 milliseconds or even shorter? Risks?
Can one safely cancel a queued call to FlushAll if the application explicitly calls FlushAll?
I am trying to avoid these unscheduled calls to FlushAll() as I need to avoid unexpected use of the SPI bus when the application is using it for other purposes. I have an SD card attached to the SPI bus and my application called FlushAll after it modified the files on the SD card.
The text was updated successfully, but these errors were encountered: