From f73c9574775d75f6aa572b16fe296b2f3a0e6aec Mon Sep 17 00:00:00 2001 From: Rick Watson Date: Mon, 25 May 2020 11:35:03 +0100 Subject: [PATCH] add TODO --- lib/framework/SystemStatus.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/framework/SystemStatus.cpp b/lib/framework/SystemStatus.cpp index 13b15ee..28d987a 100644 --- a/lib/framework/SystemStatus.cpp +++ b/lib/framework/SystemStatus.cpp @@ -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();