summaryrefslogtreecommitdiffstats
path: root/bootloader/show_logo.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-10-12 16:46:01 +0000
committerDave Chapman <dave@dchapman.com>2008-10-12 16:46:01 +0000
commitda8bff107e8ed6bf63cc005bfa6c90b12c8b4dd5 (patch)
tree13c81d9578d8ba3cda2d7c9d20e2a67ac8bee0d3 /bootloader/show_logo.c
parent0f933f62101a8fe8bb841617217f7e866324820d (diff)
downloadrockbox-da8bff107e8ed6bf63cc005bfa6c90b12c8b4dd5.tar.gz
rockbox-da8bff107e8ed6bf63cc005bfa6c90b12c8b4dd5.tar.bz2
rockbox-da8bff107e8ed6bf63cc005bfa6c90b12c8b4dd5.zip
Commit FS#9467 - initial work on port to Sansa Clip by Rafaël Carré and François Dinel. A few cosmetic changes were made by me prior to committing: 1) TAB policing in button-clip.c; 2) Add François Dinel to CREDITS; 3) Add François Dinel as (C) holder in button-target.h (it was previously blank); 4) Add Rockbox header to bootloader/sansa_as3525.c with Rafaël Carré as (C) holder; 5) Change target_id to 50 (next available number) in tools/configure and fixed indentation; 6) Change MODEL_NUMBER in config-clip.h to 50 (next available number); 7) Remove unused in/out macros from system-target.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18782 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/show_logo.c')
-rw-r--r--bootloader/show_logo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bootloader/show_logo.c b/bootloader/show_logo.c
index b0cac3370f..b655e511cf 100644
--- a/bootloader/show_logo.c
+++ b/bootloader/show_logo.c
@@ -29,8 +29,12 @@
int show_logo( void )
{
char boot_version[32];
-
+
+#if LCD_WIDTH <= 128
+ snprintf(boot_version, sizeof(boot_version), "Boot %s", APPSVERSION);
+#else
snprintf(boot_version, sizeof(boot_version), "Boot Ver. %s", APPSVERSION);
+#endif
lcd_clear_display();
lcd_bitmap(rockboxlogo, 0, 10, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);