diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c
index be6cd30af..55841a043 100644
--- a/src/httpserver/http_fns.c
+++ b/src/httpserver/http_fns.c
@@ -25,6 +25,9 @@ static char SUBMIT_AND_END_FORM[] = "
+#include // For BL602 ADC HAL
+#include // For BL602 ADC Standard Driver
+#include // For BL602 Global Register Standard Driver
#elif PLATFORM_W600 || PLATFORM_W800
#elif PLATFORM_XR809
@@ -47,6 +50,68 @@ static char SUBMIT_AND_END_FORM[] = " Cfg size: %i, change counter: %i, ota counter: %i, boot incompletes %i (might change to 0 if you wait to 30 sec)!",
sizeof(g_cfg), g_cfg.changeCounter, g_cfg.otaCounter, g_bootFailures);
-#if PLATFORM_BEKEN
- if(!bSafeMode && g_bootFailures <= 1) // only in Normal mode, and if boot is not failing
+ // display temperature - thanks to giedriuslt
+ // only in Normal mode, and if boot is not failing
+ if(!bSafeMode && g_bootFailures <= 1)
{
+#if PLATFORM_BEKEN
UINT32 temperature;
temp_single_get_current_temperature(&temperature);
hprintf255(request, "
",
+ wifi_temperature);
#elif PLATFORM_LN882H
// Quick hack to display LN-only temperature,
// we may improve it in the future
extern float g_wifi_temperature;
- hprintf255(request, "