Skip to content

Commit ccd02aa

Browse files
authored
Merge pull request #3 from matsujirushi/patch1
Remove flash indicator at InternalFileSystem
2 parents 930e692 + c7e39c0 commit ccd02aa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libraries/InternalFileSytem/src/flash/flash_cache.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,8 @@ void flash_cache_flush (flash_cache_t* fc)
8383
// skip erase & program if verify() exists, and memory matches
8484
if ( !(fc->verify && fc->verify(fc->cache_addr, fc->cache_buf, FLASH_CACHE_SIZE)) )
8585
{
86-
// indicator TODO allow to disable flash indicator
87-
ledOn(LED_BUILTIN);
88-
8986
fc->erase(fc->cache_addr);
9087
fc->program(fc->cache_addr, fc->cache_buf, FLASH_CACHE_SIZE);
91-
92-
ledOff(LED_BUILTIN);
9388
}
9489

9590
fc->cache_addr = FLASH_CACHE_INVALID_ADDR;

0 commit comments

Comments
 (0)