mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
fix start address so erase works
This commit is contained in:
parent
b902e86cb1
commit
b6c196a49a
@ -58,7 +58,7 @@ bool spiffs_format_internal(){
|
||||
}
|
||||
|
||||
u32_t sect_first, sect_last;
|
||||
sect_first = flashmem_get_first_free_block_address();
|
||||
sect_first = flashmem_get_sector_of_address((u32_t)&_SPIFFS_start);
|
||||
sect_last = flashmem_get_sector_of_address((u32_t)&_SPIFFS_end);
|
||||
debugf("sect_first: %x, sect_last: %x\n", sect_first, sect_last);
|
||||
while( sect_first <= sect_last ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user