We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 930e692 commit c7e39c0Copy full SHA for c7e39c0
libraries/InternalFileSytem/src/flash/flash_cache.c
@@ -83,13 +83,8 @@ void flash_cache_flush (flash_cache_t* fc)
83
// skip erase & program if verify() exists, and memory matches
84
if ( !(fc->verify && fc->verify(fc->cache_addr, fc->cache_buf, FLASH_CACHE_SIZE)) )
85
{
86
- // indicator TODO allow to disable flash indicator
87
- ledOn(LED_BUILTIN);
88
-
89
fc->erase(fc->cache_addr);
90
fc->program(fc->cache_addr, fc->cache_buf, FLASH_CACHE_SIZE);
91
92
- ledOff(LED_BUILTIN);
93
}
94
95
fc->cache_addr = FLASH_CACHE_INVALID_ADDR;
0 commit comments