From 9b349e2b487b6a4c42564320dcd4ab1177d9db4b Mon Sep 17 00:00:00 2001 From: Ton Huisman Date: Sun, 7 Apr 2024 17:20:24 +0200 Subject: [PATCH] [JSON] Add extra data in `/json` output --- src/src/WebServer/JSON.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/src/WebServer/JSON.cpp b/src/src/WebServer/JSON.cpp index bc2ea01b46..000400aaef 100644 --- a/src/src/WebServer/JSON.cpp +++ b/src/src/WebServer/JSON.cpp @@ -210,6 +210,13 @@ void handle_json() #ifdef ESP32 LabelType::ESP_CHIP_REVISION, #endif // ifdef ESP32 + LabelType::FLASH_CHIP_ID, + LabelType::FLASH_CHIP_VENDOR, + LabelType::FLASH_CHIP_MODEL, + LabelType::FLASH_CHIP_REAL_SIZE, + LabelType::FLASH_CHIP_SPEED, + LabelType::FLASH_IDE_MODE, + LabelType::FS_SIZE, LabelType::SUNRISE, LabelType::SUNSET,