src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/app_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/app_main.c')
-rw-r--r--main/app_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/app_main.c b/main/app_main.c
index fa63e26..f1aae13 100644
--- a/main/app_main.c
+++ b/main/app_main.c
@@ -1,3 +1,4 @@
+#include "chip_temp.h"
#include "display.h"
#include "http_api.h"
#include "jpeg_decoder.h"
@@ -42,6 +43,7 @@ void app_main(void)
viewport_state_init();
nvs_config_load(); // apply persisted config over defaults (best-effort)
+ chip_temp_init(); // best-effort; readers get NAN if unavailable
// PROJECT_VER comes from CMakeLists.txt — git short hash + dirty
// marker. Logged in the very first line so any captured boot log
// tells us exactly which build is running.