clean up flash
This commit is contained in:
1 parent
d8099f484d
commit
ec90ceb3d8
3 files changed
+12
-10
No files matched your search
@@ -83,7 +83,7 @@ void flash_cache_flush (flash_cache_t* fc)
|
||||
// skip erase & program if verify() exists, and memory matches
|
||||
if ( !(fc->verify && fc->verify(fc->cache_addr, fc->cache_buf, FLASH_CACHE_SIZE)) )
|
||||
{
|
||||
// indicator
|
||||
// indicator TODO allow to disable flash indicator
|
||||
ledOn(LED_BUILTIN);
|
||||
|
||||
fc->erase(fc->cache_addr);
|
||||
|
||||
Reference in new issue
Block a user