Remove ProgramFlashSize from ESP32 Gui

This commit is contained in:
Theo Arends 2021-06-20 17:20:20 +02:00
parent 0d18174bd9
commit 4187cc7818
1 changed files with 2 additions and 0 deletions

View File

@ -2362,7 +2362,9 @@ void HandleInformation(void)
WSContentSend_P(PSTR("}1" D_FLASH_CHIP_ID "}20x%06X"), ESP.getFlashChipId());
#endif
WSContentSend_P(PSTR("}1" D_FLASH_CHIP_SIZE "}2%d kB"), ESP.getFlashChipRealSize() / 1024);
#ifdef ESP8266
WSContentSend_P(PSTR("}1" D_PROGRAM_FLASH_SIZE "}2%d kB"), ESP.getFlashChipSize() / 1024);
#endif
WSContentSend_P(PSTR("}1" D_PROGRAM_SIZE "}2%d kB"), ESP_getSketchSize() / 1024);
WSContentSend_P(PSTR("}1" D_FREE_PROGRAM_SPACE "}2%d kB"), ESP.getFreeSketchSpace() / 1024);
#ifdef ESP32