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/target/coldfire/iriver | |
parent | 885cdfdeb98d54b2597e65f1b9ae9ab98da8286f (diff) |
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/target/coldfire/iriver')
-rw-r--r-- | firmware/target/coldfire/iriver/lcd-remote-iriver.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/target/coldfire/iriver/lcd-remote-iriver.c b/firmware/target/coldfire/iriver/lcd-remote-iriver.c index cdc5acacca..29dbfad3db 100644 --- a/firmware/target/coldfire/iriver/lcd-remote-iriver.c +++ b/firmware/target/coldfire/iriver/lcd-remote-iriver.c @@ -19,8 +19,9 @@ #include "config.h" #include "system.h" -#include "kernel.h" +#include "file.h" #include "lcd-remote.h" +#include "scroll_engine.h" /*** definitions ***/ @@ -521,7 +522,7 @@ static void remote_tick(void) if (--init_delay <= 0) { - queue_post(&remote_scroll_queue, REMOTE_INIT_LCD, 0); + queue_broadcast(SYS_REMOTE_PLUGGED, 0); init_delay = 6; } } @@ -537,7 +538,7 @@ static void remote_tick(void) { _remote_type = REMOTETYPE_UNPLUGGED; - queue_post(&remote_scroll_queue, REMOTE_DEINIT_LCD, 0); + queue_broadcast(SYS_REMOTE_UNPLUGGED, 0); } } } |