diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2005-07-28 08:36:24 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2005-07-28 08:36:24 +0000 |
| commit | 05af28036ee5d1dce5aaacc6482d0822caa54ce3 (patch) | |
| tree | c6f91003b95d8a3df4e82032c04ea90941f5f2c3 /firmware | |
| parent | d074ed66d9d4a306ea5ebf4e982ecdf61e714ee0 (diff) | |
| download | rockbox-05af28036ee5d1dce5aaacc6482d0822caa54ce3.zip rockbox-05af28036ee5d1dce5aaacc6482d0822caa54ce3.tar.gz rockbox-05af28036ee5d1dce5aaacc6482d0822caa54ce3.tar.bz2 rockbox-05af28036ee5d1dce5aaacc6482d0822caa54ce3.tar.xz | |
Fixed scroll step settings >127 pixels not working (reported on irc). Changed some other LCD driver variables to the natural 'int', cuts down binary size on coldfire a bit. Cleaned up some more settings bits. Bumped config block version, so save your settings to a file before upgrading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7247 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
| -rw-r--r-- | firmware/drivers/lcd-h100-remote.c | 4 | ||||
| -rw-r--r-- | firmware/drivers/lcd-h100.c | 4 | ||||
| -rw-r--r-- | firmware/drivers/lcd-player.c | 4 | ||||
| -rw-r--r-- | firmware/drivers/lcd-recorder.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c index 868350d..bde2b16 100644 --- a/firmware/drivers/lcd-h100-remote.c +++ b/firmware/drivers/lcd-h100-remote.c @@ -93,9 +93,9 @@ static volatile int scrolling_lines=0; /* Bitpattern of which lines are scrollin static void scroll_thread(void); static long scroll_stack[DEFAULT_STACK_SIZE/sizeof(long)]; static const char scroll_name[] = "remote_scroll"; -static char scroll_ticks = 12; /* # of ticks between updates*/ +static int scroll_ticks = 12; /* # of ticks between updates*/ static int scroll_delay = HZ/2; /* ticks delay before start */ -static char scroll_step = 6; /* pixels per scroll step */ +static int scroll_step = 6; /* pixels per scroll step */ static int bidir_limit = 50; /* percent */ static struct scrollinfo scroll[SCROLLABLE_LINES]; diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index b672324..5bdb08a 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c @@ -80,9 +80,9 @@ static volatile int scrolling_lines=0; /* Bitpattern of which lines are scrollin static void scroll_thread(void); static long scroll_stack[DEFAULT_STACK_SIZE/sizeof(long)]; static const char scroll_name[] = "scroll"; -static char scroll_ticks = 12; /* # of ticks between updates*/ +static int scroll_ticks = 12; /* # of ticks between updates*/ static int scroll_delay = HZ/2; /* ticks delay before start */ -static char scroll_step = 6; /* pixels per scroll step */ +static int scroll_step = 6; /* pixels per scroll step */ static int bidir_limit = 50; /* percent */ static struct scrollinfo scroll[SCROLLABLE_LINES]; diff --git a/firmware/drivers/lcd-player.c b/firmware/drivers/lcd-player.c index f0fbbc0..566c868 100644 --- a/firmware/drivers/lcd-player.c +++ b/firmware/drivers/lcd-player.c @@ -78,10 +78,10 @@ struct cursorinfo { static void scroll_thread(void); static char scroll_stack[DEFAULT_STACK_SIZE]; static const char scroll_name[] = "scroll"; -static char scroll_ticks = 12; /* # of ticks between updates */ +static int scroll_ticks = 12; /* # of ticks between updates */ static int scroll_delay = HZ/2; /* delay before starting scroll */ static int jump_scroll_delay = HZ/4; /* delay between jump scroll jumps */ -static char scroll_spacing = 3; /* spaces between end and start of text */ +static int scroll_spacing = 3; /* spaces between end and start of text */ static int bidir_limit = 50; /* percent */ static int jump_scroll = 0; /* 0=off, 1=once, ..., JUMP_SCROLL_ALWAYS */ diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index 702456e..cdeb4f2 100644 --- a/firmware/drivers/lcd-recorder.c +++ b/firmware/drivers/lcd-recorder.c @@ -90,9 +90,9 @@ static volatile int scrolling_lines=0; /* Bitpattern of which lines are scrollin static void scroll_thread(void); static char scroll_stack[DEFAULT_STACK_SIZE]; static const char scroll_name[] = "scroll"; -static char scroll_ticks = 12; /* # of ticks between updates*/ +static int scroll_ticks = 12; /* # of ticks between updates*/ static int scroll_delay = HZ/2; /* ticks delay before start */ -static char scroll_step = 6; /* pixels per scroll step */ +static int scroll_step = 6; /* pixels per scroll step */ static int bidir_limit = 50; /* percent */ static struct scrollinfo scroll[SCROLLABLE_LINES]; |