8000 add TODO · willivstn/esp8266-react@f73c957 · GitHub
[go: up one dir, main page]

Skip to content

Commit f73c957

Browse files
committed
add TODO
1 parent b4f3fbe commit f73c957

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/framework/SystemStatus.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ void SystemStatus::systemStatus(AsyncWebServerRequest* request) {
2525
root["flash_chip_size"] = ESP.getFlashChipSize();
2626
root["flash_chip_speed"] = ESP.getFlashChipSpeed();
2727

28+
// TODO - Ideally this class will take an *FS and extract the file system information from there.
29+
// ESP8266 and ESP32 do not have feature parity in FS.h which currently makes that difficult.
2830
#ifdef ESP32
2931
root["fs_total"] = SPIFFS.totalBytes();
3032
root["fs_used"] = SPIFFS.usedBytes();

0 commit comments

Comments
 (0)
0