mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Update support_esptool.ino
This commit is contained in:
parent
a21acebdb4
commit
3810251658
@ -95,7 +95,7 @@ bool EsptoolEraseSector(uint32_t sector)
|
|||||||
|
|
||||||
void EsptoolErase(uint32_t start_sector, uint32_t end_sector)
|
void EsptoolErase(uint32_t start_sector, uint32_t end_sector)
|
||||||
{
|
{
|
||||||
AddLog_P(LOG_LEVEL_DEBUG, PSTR(D_LOG_APPLICATION D_ERASE " from 0x%06X to 0x%06X"), start_sector * SPI_FLASH_SEC_SIZE, (end_sector * SPI_FLASH_SEC_SIZE) -1);
|
AddLog_P(LOG_LEVEL_DEBUG, PSTR(D_LOG_APPLICATION D_ERASE " from 0x%08X to 0x%08X"), start_sector * SPI_FLASH_SEC_SIZE, (end_sector * SPI_FLASH_SEC_SIZE) -1);
|
||||||
|
|
||||||
int next_erase_sector = start_sector;
|
int next_erase_sector = start_sector;
|
||||||
int remaining_erase_sector = end_sector - start_sector;
|
int remaining_erase_sector = end_sector - start_sector;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user