diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-11-12 13:25:03 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-11-12 13:25:03 +0000 |
commit | 7b30e50812294fa8d6626f4f08608730d9dcea80 (patch) | |
tree | 847a94916b364088ead75247f17d726a2f9117a0 /firmware | |
parent | 6bdf3ee6f28097e25770ae43e28dd4b59054e88f (diff) | |
download | rockbox-7b30e50812294fa8d6626f4f08608730d9dcea80.tar.gz rockbox-7b30e50812294fa8d6626f4f08608730d9dcea80.zip |
Adjust scrollable lines to varying LCD sizes in the 2bit vertical packing LCD driver. Doesn't change anything for current targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11518 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/lcd-2bit-vert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-2bit-vert.c b/firmware/drivers/lcd-2bit-vert.c index a0598df318..799865c36d 100644 --- a/firmware/drivers/lcd-2bit-vert.c +++ b/firmware/drivers/lcd-2bit-vert.c | |||
@@ -33,7 +33,7 @@ | |||
33 | 33 | ||
34 | /*** definitions ***/ | 34 | /*** definitions ***/ |
35 | 35 | ||
36 | #define SCROLLABLE_LINES 26 | 36 | #define SCROLLABLE_LINES ((LCD_HEIGHT+4)/5 < 32 ? (LCD_HEIGHT+4)/5 : 32) |
37 | 37 | ||
38 | /*** globals ***/ | 38 | /*** globals ***/ |
39 | 39 | ||