diff --git a/RX_FSK/RX_FSK.ino b/RX_FSK/RX_FSK.ino index b29c2b0..e8ed1cf 100644 --- a/RX_FSK/RX_FSK.ino +++ b/RX_FSK/RX_FSK.ino @@ -22,7 +22,7 @@ #include "rs92gps.h" #include "mqtt.h" #include "esp_heap_caps.h" - +//#define ESP_MEM_DEBUG 1 int e; enum MainState { ST_DECODER, ST_SPECTRUM, ST_WIFISCAN, ST_UPDATE, ST_TOUCHCALIB }; @@ -476,7 +476,7 @@ struct st_configitems config_list[] = { {"startfreq", "Startfreq (MHz)", 0, &sonde.config.startfreq}, {"channelbw", "Bandwidth (kHz)", 0, &sonde.config.channelbw}, {"marker", "Spectrum MHz marker", 0, &sonde.config.marker}, - {"noisefloor", "Sepctrum noisefloor", 0, &sonde.config.noisefloor}, + {"noisefloor", "Spectrum noisefloor", 0, &sonde.config.noisefloor}, /* decoder settings */ {"", "Receiver configuration", -5, NULL}, {"showafc", "Show AFC value", 0, &sonde.config.showafc}, @@ -970,7 +970,9 @@ void SetupAsyncServer() { // Route to load style.css file server.on("/style.css", HTTP_GET, [](AsyncWebServerRequest * request) { - request->send(SPIFFS, "/style.css", "text/css"); + AsyncWebServerResponse *response = request->beginResponse(SPIFFS, "/style.css", "text/css"); + response->addHeader("Cache-Control","max-age=86400"); + request->send(response); }); // Route to set GPIO to HIGH diff --git a/RX_FSK/data/index.html b/RX_FSK/data/index.html index 24d4c08..e0acb1d 100644 --- a/RX_FSK/data/index.html +++ b/RX_FSK/data/index.html @@ -24,19 +24,19 @@ -
+

QRG - Setup

- +
-
+

WiFi - Settings

- +

Data

- +
-
+

Configuration

- +
-
+

Control

- +
diff --git a/RX_FSK/version.h b/RX_FSK/version.h index 5ca8ea6..43a37ad 100644 --- a/RX_FSK/version.h +++ b/RX_FSK/version.h @@ -1,4 +1,4 @@ const char *version_name = "rdzTTGOsonde"; -const char *version_id = "devel20201227m"; +const char *version_id = "devel20201228"; const int SPIFFS_MAJOR=2; -const int SPIFFS_MINOR=6; +const int SPIFFS_MINOR=7;