From f4709d0c7c160fa594ca9289c9a28352f1d44126 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Wed, 17 Jan 2007 12:20:38 +0000 Subject: 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 --- bootloader/ipod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootloader/ipod.c') 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; } -- cgit v1.2.3