mirror of
https://github.com/rzeldent/esp32cam-rtsp.git
synced 2025-11-11 18:56:21 +00:00
Fixed typo
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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"},
|
||||||
|
|||||||
Reference in New Issue
Block a user