diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-07-28 08:12:05 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-07-28 08:12:05 +0000 |
commit | 58fc279d2674b5d56fed6772f82cdf1e431088f1 (patch) | |
tree | 07a174bba7430b0ebc3c0f84d39ecb209eec1fc5 /firmware/backlight.c | |
parent | 885cdfdeb98d54b2597e65f1b9ae9ab98da8286f (diff) | |
download | rockbox-58fc279d2674b5d56fed6772f82cdf1e431088f1.tar.gz rockbox-58fc279d2674b5d56fed6772f82cdf1e431088f1.zip |
Scroll on main and remote with a single thread. Change the way system messages are defined before running out is an issue (which requires a full update of rockbox on the player).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14035 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r-- | firmware/backlight.c | 12 |
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"); |