summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 806ae6dcfa..cc8a1b561a 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -122,7 +122,7 @@ static void button_tick(void)
122 const int data = 0; 122 const int data = 0;
123#endif 123#endif
124 124
125#ifdef HAS_SERIAL_REMOTE 125#if defined(HAS_SERIAL_REMOTE) && !defined(SIMULATOR)
126 /* Post events for the remote control */ 126 /* Post events for the remote control */
127 btn = remote_control_rx(); 127 btn = remote_control_rx();
128 if(btn) 128 if(btn)