diff options
Diffstat (limited to 'bootloader/iriver_h1x0.c')
-rw-r--r-- | bootloader/iriver_h1x0.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bootloader/iriver_h1x0.c b/bootloader/iriver_h1x0.c index f16a5128c9..1afbafa830 100644 --- a/bootloader/iriver_h1x0.c +++ b/bootloader/iriver_h1x0.c @@ -46,6 +46,7 @@ #include "eeprom_settings.h" #include "rbunicode.h" #include "common.h" +#include "version.h" #include <stdarg.h> @@ -58,8 +59,6 @@ static bool recovery_mode = false; #endif -char version[] = APPSVERSION; - /* Reset the cookie for the crt0 crash check */ inline void __reset_cookie(void) { @@ -254,7 +253,7 @@ void failsafe_menu(void) extern int line; reset_screen(); - printf("Bootloader %s", version); + printf("Bootloader " RBVERSION); check_battery(); printf("========================="); line += FAILSAFE_OPTIONS; @@ -502,7 +501,7 @@ void main(void) lcd_setfont(FONT_SYSFIXED); printf("Rockbox boot loader"); - printf("Version %s", version); + printf("Version " RBVERSION); /* No need to wait here more because lcd_init and others already do that. */ // sleep(HZ/50); /* Allow the button driver to check the buttons */ |