mirror of
https://github.com/rzeldent/esp32cam-rtsp.git
synced 2025-11-18 22:18:01 +00:00
Added seeed_xiao_esp32s3
This commit is contained in:
@@ -17,7 +17,9 @@
|
||||
#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");
|
||||
@@ -119,7 +121,11 @@ void handle_root()
|
||||
{"PsRamSize", format_memory(ESP.getPsramSize(), 0)},
|
||||
// Diagnostics
|
||||
{"Uptime", String(format_duration(millis() / 1000))},
|
||||
#ifdef TEMPRATURE_SEND_READ
|
||||
{"Temperature", String((temprature_sens_read() - 32) / 1.8)},
|
||||
#else
|
||||
{"Temperature", "N/A"},
|
||||
#endif
|
||||
{"FreeHeap", format_memory(ESP.getFreeHeap())},
|
||||
{"MaxAllocHeap", format_memory(ESP.getMaxAllocHeap())},
|
||||
{"NumRTSPSessions", camera_server != nullptr ? String(camera_server->num_connected()) : "RTSP server disabled"},
|
||||
|
||||
Reference in New Issue
Block a user