mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-20 00:32:37 +01:00
fx
This commit is contained in:
@@ -282,6 +282,8 @@ float getSunset(const char *s) {
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
float getRebootReason(const char *s) {
|
||||
return g_rebootReason;
|
||||
}
|
||||
|
||||
@@ -887,7 +887,7 @@ typedef enum {
|
||||
s = "Pin Interrupt";
|
||||
else if (g_rebootReason == 4)
|
||||
s = "Sleep Timer";
|
||||
hprintf255(request, "<h5>Reboot reason: %i - %s</h5>", i, s);
|
||||
hprintf255(request, "<h5>Reboot reason: %i - %s</h5>", g_rebootReason, s);
|
||||
}
|
||||
#elif PLATFORM_BL602
|
||||
char reason[26];
|
||||
|
||||
Reference in New Issue
Block a user