summaryrefslogtreecommitdiff
path: root/firmware/backlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r--firmware/backlight.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 10894e5c70..9277f34681 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -545,6 +545,18 @@ void backlight_thread(void)
545 break; 545 break;
546#endif 546#endif
547 547
548#if defined(HAVE_REMOTE_LCD) && !defined(SIMULATOR)
549 /* Here for now or else the aggressive init messes up scrolling */
550 case SYS_REMOTE_PLUGGED:
551 lcd_remote_on();
552 lcd_remote_update();
553 break;
554
555 case SYS_REMOTE_UNPLUGGED:
556 lcd_remote_off();
557 break;
558#endif /* defined(HAVE_REMOTE_LCD) && !defined(SIMULATOR) */
559
548 case SYS_USB_CONNECTED: 560 case SYS_USB_CONNECTED:
549 /* Tell the USB thread that we are safe */ 561 /* Tell the USB thread that we are safe */
550 DEBUGF("backlight_thread got SYS_USB_CONNECTED\n"); 562 DEBUGF("backlight_thread got SYS_USB_CONNECTED\n");