Fixed typo

This commit is contained in:
Rene Zeldenthuis
2023-08-17 01:58:47 +02:00
parent b3cb7d1bf7
commit 4360630835
2 changed files with 2 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ build_flags =
-D LED_FLASH=4 -D LED_FLASH=4
-D LED_BUILTIN=33 -D LED_BUILTIN=33
-D BOARD_HAS_PSRAM -D BOARD_HAS_PSRAM
-D TEMPRATURE_SEND_READ -D TEMPRATURE_SENS_READ
-mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-issue
-D IOTWEBCONF_PASSWORD_LEN=64 -D IOTWEBCONF_PASSWORD_LEN=64

View File

@@ -17,9 +17,7 @@
#include <moustache.h> #include <moustache.h>
#include <settings.h> #include <settings.h>
#ifdef TEMPRATURE_SEND_READ
extern "C" uint8_t temprature_sens_read(); extern "C" uint8_t temprature_sens_read();
#endif
// HTML files // HTML files
extern const char index_html_min_start[] asm("_binary_html_index_min_html_start"); extern const char index_html_min_start[] asm("_binary_html_index_min_html_start");
@@ -121,7 +119,7 @@ void handle_root()
{"PsRamSize", format_memory(ESP.getPsramSize(), 0)}, {"PsRamSize", format_memory(ESP.getPsramSize(), 0)},
// Diagnostics // Diagnostics
{"Uptime", String(format_duration(millis() / 1000))}, {"Uptime", String(format_duration(millis() / 1000))},
#ifdef TEMPRATURE_SEND_READ #ifdef TEMPRATURE_SENS_READ
{"Temperature", String((temprature_sens_read() - 32) / 1.8)}, {"Temperature", String((temprature_sens_read() - 32) / 1.8)},
#else #else
{"Temperature", "N/A"}, {"Temperature", "N/A"},