summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/button.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index b0f8aa1e4d..4d1652984b 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -132,7 +132,9 @@ static void button_tick(void)
132#endif 132#endif
133 repeat_count > POWEROFF_COUNT) 133 repeat_count > POWEROFF_COUNT)
134 { 134 {
135 queue_post(&button_queue, SYS_POWEROFF, NULL); 135 /* Tell the main thread that it's time to
136 power off */
137 sys_poweroff();
136 138
137 /* Safety net for players without hardware 139 /* Safety net for players without hardware
138 poweroff */ 140 poweroff */