diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index b4ab7203a3..b0f8aa1e4d 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -131,7 +131,14 @@ static void button_tick(void) !charger_inserted() && #endif repeat_count > POWEROFF_COUNT) + { queue_post(&button_queue, SYS_POWEROFF, NULL); + + /* Safety net for players without hardware + poweroff */ + if(repeat_count > POWEROFF_COUNT * 10) + power_off(); + } #endif } }