mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-16 10:45:24 +00:00
$failedBoots variable
This commit is contained in:
@ -810,7 +810,7 @@ int http_fn_index(http_request_t* request) {
|
||||
hprintf255(request, "</h5>");
|
||||
}
|
||||
hprintf255(request, "<h5>Cfg size: %i, change counter: %i, ota counter: %i, boot incompletes %i (might change to 0 if you wait to 30 sec)!</h5>",
|
||||
sizeof(g_cfg), g_cfg.changeCounter, g_cfg.otaCounter, Main_GetLastRebootBootFailures());
|
||||
sizeof(g_cfg), g_cfg.changeCounter, g_cfg.otaCounter, g_bootFailures);
|
||||
|
||||
inputName = CFG_GetPingHost();
|
||||
if (inputName && *inputName && CFG_GetPingDisconnectedSecondsToRestart()) {
|
||||
@ -893,7 +893,7 @@ int http_fn_index(http_request_t* request) {
|
||||
#endif
|
||||
if (bSafeMode) {
|
||||
hprintf255(request, "<h5 class='safe'>You are in safe mode (AP mode) because full reboot failed %i times. ",
|
||||
Main_GetLastRebootBootFailures());
|
||||
g_bootFailures);
|
||||
hprintf255(request, "Pins, relays, etc are disabled.</h5>");
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user