Use arch_restart to restart ESP

This commit is contained in:
Edward Firmo
2024-04-30 10:57:17 +02:00
parent d4118e27e1
commit 1ef00adbfc
2 changed files with 9 additions and 31 deletions

View File

@@ -984,7 +984,7 @@ display:
switch (component_id) {
case 4: // Reboot button
if (!touch_event) { // Release
App.safe_reboot();
arch_restart();
}
break;
}
@@ -993,7 +993,7 @@ display:
switch (component_id) {
case 9: // Reboot button
if (!touch_event) { // Release
App.safe_reboot();
arch_restart();
}
break;
}