mirror of
https://github.com/rzeldent/esp32cam-rtsp.git
synced 2025-11-12 03:06:22 +00:00
Fixed typo
This commit is contained in:
@@ -32,7 +32,7 @@ build_flags =
|
||||
-D LED_FLASH=4
|
||||
-D LED_BUILTIN=33
|
||||
-D BOARD_HAS_PSRAM
|
||||
-D TEMPRATURE_SEND_READ
|
||||
-D TEMPRATURE_SENS_READ
|
||||
-mfix-esp32-psram-cache-issue
|
||||
-D IOTWEBCONF_PASSWORD_LEN=64
|
||||
|
||||
|
||||
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user