There was an error while loading. Please reload this page.
2 parents 0550524 + 1b929fe commit 8bbb661Copy full SHA for 8bbb661
1 file changed
src/state_machine.rs
@@ -1162,7 +1162,7 @@ pub fn start(
1162
1163
// Detect short press of power button
1164
// Short press (or ESC) will exit and boot (skip all further checks)
1165
- let short_press = (!button_pressed && state.prev_pressed && long_press == 1)
+ let short_press = (!button_pressed && state.prev_pressed)
1166
|| state.keypress == Some(Key::Special(ScanCode::ESCAPE));
1167
match (short_press, state.frame.clone()) {
1168
// Reboot
0 commit comments