summaryrefslogtreecommitdiffstats
path: root/bootloader/ipod.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-01-17 12:20:38 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-01-17 12:20:38 +0000
commitf4709d0c7c160fa594ca9289c9a28352f1d44126 (patch)
tree717b3d2d4959268f56c87692fd5021f3e9be3e73 /bootloader/ipod.c
parentb0d1bb891ec91994f7cd453e09dd38a5539e16d6 (diff)
downloadrockbox-f4709d0c7c160fa594ca9289c9a28352f1d44126.tar.gz
rockbox-f4709d0c7c160fa594ca9289c9a28352f1d44126.tar.bz2
rockbox-f4709d0c7c160fa594ca9289c9a28352f1d44126.zip
Make the build system create a sysfont.h which includes font information for the system font. Available #defines are: SYSFONT_NAME, SYSFONT_FACENAME, SYSFONT_WIDTH, SYSFONT_HEIGHT, SYSFONT_SIZE, SYSFONT_ASCENT, SYSFONT_DESCENT, SYSFONT_FIRST_CHAR, SYSFONT_LAST_CHAR, SYSFONT_DEFAULT_CHAR, SYSFONT_PROPORTIONAL, SYSFONT_COPYRIGHT, SYSFONT_BITS_SIZE.
Also fix a small bug in the iPod bootloader printf() code and use printf() for PortalPlayer bootloaders too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12041 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/ipod.c')
-rw-r--r--bootloader/ipod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader/ipod.c b/bootloader/ipod.c
index 5f7060a526..8b99fbd1ad 100644
--- a/bootloader/ipod.c
+++ b/bootloader/ipod.c
@@ -178,7 +178,7 @@ void printf(const char *format, ...)
lcd_puts(0, line++, ptr);
lcd_update();
- if(line >= 30)
+ if(line >= (LCD_HEIGHT/SYSFONT_HEIGHT))
line = 0;
}