add TODO
This commit is contained in:
parent
b4f3fbe823
commit
f73c957477
@ -25,6 +25,8 @@ void SystemStatus::systemStatus(AsyncWebServerRequest* request) {
|
||||
root["flash_chip_size"] = ESP.getFlashChipSize();
|
||||
root["flash_chip_speed"] = ESP.getFlashChipSpeed();
|
||||
|
||||
// TODO - Ideally this class will take an *FS and extract the file system information from there.
|
||||
// ESP8266 and ESP32 do not have feature parity in FS.h which currently makes that difficult.
|
||||
#ifdef ESP32
|
||||
root["fs_total"] = SPIFFS.totalBytes();
|
||||
root["fs_used"] = SPIFFS.usedBytes();
|
||||
|
Loading…
Reference in New Issue
Block a user