Use arch_restart to restart ESP
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user