summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootloader/common.c2
-rwxr-xr-xbootloader/ondavx747.c13
2 files changed, 2 insertions, 13 deletions
diff --git a/bootloader/common.c b/bootloader/common.c
index 3c4e67abbe..1f1e519991 100644
--- a/bootloader/common.c
+++ b/bootloader/common.c
@@ -40,7 +40,7 @@
40#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) \ 40#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) \
41 || defined(SANSA_E200) || defined(SANSA_C200) || defined(GIGABEAT_F) \ 41 || defined(SANSA_E200) || defined(SANSA_C200) || defined(GIGABEAT_F) \
42 || defined(PHILIPS_SA9200) || (CONFIG_CPU == AS3525) || defined(COWON_D2) \ 42 || defined(PHILIPS_SA9200) || (CONFIG_CPU == AS3525) || defined(COWON_D2) \
43 || defined(MROBE_100) || defined(PHILIPS_HDD1630) 43 || defined(MROBE_100) || defined(PHILIPS_HDD1630) || defined(ONDA_VX747)
44bool verbose = false; 44bool verbose = false;
45#else 45#else
46bool verbose = true; 46bool verbose = true;
diff --git a/bootloader/ondavx747.c b/bootloader/ondavx747.c
index 12ab397078..39c0aa83aa 100755
--- a/bootloader/ondavx747.c
+++ b/bootloader/ondavx747.c
@@ -31,7 +31,6 @@
31#include "storage.h" 31#include "storage.h"
32#include "disk.h" 32#include "disk.h"
33#include "string.h" 33#include "string.h"
34#include "rockboxlogo.h"
35 34
36static void show_splash(int timeout, const char *msg) 35static void show_splash(int timeout, const char *msg)
37{ 36{
@@ -43,13 +42,6 @@ static void show_splash(int timeout, const char *msg)
43 sleep(timeout); 42 sleep(timeout);
44} 43}
45 44
46extern int line;
47static void show_logo(void)
48{
49 lcd_bitmap(rockboxlogo, 0, 0, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
50 line += BMPHEIGHT_rockboxlogo/SYSFONT_HEIGHT + 1;
51}
52
53static void usb_mode(void) 45static void usb_mode(void)
54{ 46{
55 int button; 47 int button;
@@ -126,12 +118,9 @@ int main(void)
126 else if(rc) 118 else if(rc)
127 verbose = true; 119 verbose = true;
128 120
121 /* Only enable backlight when button is pressed */
129 if(verbose) 122 if(verbose)
130 backlight_init(); 123 backlight_init();
131
132 show_logo();
133 printf(MODEL_NAME" Rockbox Bootloader");
134 printf("Version "APPSVERSION);
135 124
136 rc = storage_init(); 125 rc = storage_init();
137 if(rc) 126 if(rc)