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

@@ -17,9 +17,7 @@
#include <moustache.h>
#include <settings.h>
#ifdef TEMPRATURE_SEND_READ
extern "C" uint8_t temprature_sens_read();
#endif
// HTML files
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)},
// Diagnostics
{"Uptime", String(format_duration(millis() / 1000))},
#ifdef TEMPRATURE_SEND_READ
#ifdef TEMPRATURE_SENS_READ
{"Temperature", String((temprature_sens_read() - 32) / 1.8)},
#else
{"Temperature", "N/A"},