#669 - Add restart counter

This commit is contained in:
Jm
2021-03-27 01:20:07 -07:00
parent 1e7808991d
commit 57c82988e2
4 changed files with 18 additions and 5 deletions

View File

@@ -941,7 +941,7 @@ void handleReport(HTTPRequest *req, HTTPResponse *res)
res->println("},");
res->println("\"device\": {");
res->printf("\"reboot_counter\": %d\n", rebootCounter);
res->printf("\"reboot_counter\": %d\n", myNodeInfo.reboot_count);
res->println("},");
res->println("\"radio\": {");