diff options
Diffstat (limited to 'bootloader/mpio_hd200.c')
-rw-r--r-- | bootloader/mpio_hd200.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bootloader/mpio_hd200.c b/bootloader/mpio_hd200.c index a031234b5a..8062f7ef22 100644 --- a/bootloader/mpio_hd200.c +++ b/bootloader/mpio_hd200.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include "file.h" | 43 | #include "file.h" |
44 | 44 | ||
45 | #include "common.h" | 45 | #include "common.h" |
46 | #include "version.h" | ||
46 | 47 | ||
47 | #include <stdarg.h> | 48 | #include <stdarg.h> |
48 | 49 | ||
@@ -78,8 +79,6 @@ int usb_screen(void) | |||
78 | return 0; | 79 | return 0; |
79 | } | 80 | } |
80 | 81 | ||
81 | char version[] = APPSVERSION; | ||
82 | |||
83 | static inline bool _charger_inserted(void) | 82 | static inline bool _charger_inserted(void) |
84 | { | 83 | { |
85 | return (GPIO1_READ & (1<<14)) ? false : true; | 84 | return (GPIO1_READ & (1<<14)) ? false : true; |
@@ -233,7 +232,7 @@ static void bootmenu(void) | |||
233 | /* backbone of menu */ | 232 | /* backbone of menu */ |
234 | /* run the loader */ | 233 | /* run the loader */ |
235 | printf("Rockbox boot loader"); | 234 | printf("Rockbox boot loader"); |
236 | printf("Ver: %s", version); | 235 | printf("Ver: " RBVERSION); |
237 | 236 | ||
238 | check_battery(); | 237 | check_battery(); |
239 | 238 | ||