summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 91b8ebd0c3..16c0d2c16a 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -199,7 +199,7 @@ static void button_tick(void)
199 which doesn't shut down easily with the OFF 199 which doesn't shut down easily with the OFF
200 key */ 200 key */
201#ifdef HAVE_SW_POWEROFF 201#ifdef HAVE_SW_POWEROFF
202 if ((btn == POWEROFF_BUTTON 202 if ((btn & POWEROFF_BUTTON
203#ifdef RC_POWEROFF_BUTTON 203#ifdef RC_POWEROFF_BUTTON
204 || btn == RC_POWEROFF_BUTTON 204 || btn == RC_POWEROFF_BUTTON
205#endif 205#endif