mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-09 03:15:46 +00:00
display event/hanlers counts on gui (if any present), bl note mac
This commit is contained in:
@ -794,6 +794,32 @@ int http_fn_index(http_request_t* request) {
|
||||
bFirst = false;
|
||||
}
|
||||
}
|
||||
if (1) {
|
||||
i = RepeatingEvents_GetActiveCount();
|
||||
if (i) {
|
||||
if (bFirst == false) {
|
||||
hprintf255(request, ", ");
|
||||
}
|
||||
hprintf255(request, "%i repeating events", i);
|
||||
bFirst = false;
|
||||
}
|
||||
i = EventHandlers_GetActiveCount();
|
||||
if (i) {
|
||||
if (bFirst == false) {
|
||||
hprintf255(request, ", ");
|
||||
}
|
||||
hprintf255(request, "%i event handlers", i);
|
||||
bFirst = false;
|
||||
}
|
||||
i = CMD_GetCountActiveScriptThreads();
|
||||
if (i) {
|
||||
if (bFirst == false) {
|
||||
hprintf255(request, ", ");
|
||||
}
|
||||
hprintf255(request, "%i script threads", i);
|
||||
bFirst = false;
|
||||
}
|
||||
}
|
||||
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>",
|
||||
|
||||
Reference in New Issue
Block a user