diff options
Diffstat (limited to 'bootloader/main-pp.c')
| -rw-r--r-- | bootloader/main-pp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c index 4f1fe2a..37f42ed 100644 --- a/bootloader/main-pp.c +++ b/bootloader/main-pp.c @@ -39,6 +39,7 @@ #include "crc32-mi4.h" #include <string.h> #include "power.h" +#include "version.h" #if defined(SANSA_E200) || defined(PHILIPS_SA9200) #include "i2c.h" #include "backlight-target.h" @@ -95,9 +96,6 @@ extern int show_logo(void); /* A buffer to load the original firmware or Rockbox into */ unsigned char *loadbuffer = (unsigned char *)DRAM_START; -/* Bootloader version */ -char version[] = APPSVERSION; - /* Locations and sizes in hidden partition on Sansa */ #if (CONFIG_STORAGE & STORAGE_SD) #define PPMI_SECTOR_OFFSET 1024 @@ -525,7 +523,7 @@ void* main(void) lcd_setfont(FONT_SYSFIXED); printf("Rockbox boot loader"); - printf("Version: %s", version); + printf("Version: " RBVERSION); printf(MODEL_NAME); i=storage_init(); |