add uptime to sysinfo page

This commit is contained in:
technyon
2023-02-11 10:36:58 +01:00
parent b91908343d
commit 812bbf384b

View File

@@ -770,6 +770,10 @@ void WebCfgServer::buildInfoHtml(String &response)
response.concat(_network->networkDeviceName());
response.concat("\n");
response.concat("Uptime: ");
response.concat(millis() / 1000 / 60);
response.concat(" minutes\n");
response.concat("Heap: ");
response.concat(esp_get_free_heap_size());
response.concat("\n");