1
0
Fork 0
forked from len0rd/rockbox

Don't display logo in Onda VX747 bootloader (which also fixes bootloader builds)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20026 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-02-16 23:54:18 +00:00
parent 21ab16a36f
commit 4b0ae10319
2 changed files with 2 additions and 13 deletions

View file

@ -40,7 +40,7 @@
#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) \
|| defined(SANSA_E200) || defined(SANSA_C200) || defined(GIGABEAT_F) \
|| defined(PHILIPS_SA9200) || (CONFIG_CPU == AS3525) || defined(COWON_D2) \
|| defined(MROBE_100) || defined(PHILIPS_HDD1630)
|| defined(MROBE_100) || defined(PHILIPS_HDD1630) || defined(ONDA_VX747)
bool verbose = false;
#else
bool verbose = true;

View file

@ -31,7 +31,6 @@
#include "storage.h"
#include "disk.h"
#include "string.h"
#include "rockboxlogo.h"
static void show_splash(int timeout, const char *msg)
{
@ -43,13 +42,6 @@ static void show_splash(int timeout, const char *msg)
sleep(timeout);
}
extern int line;
static void show_logo(void)
{
lcd_bitmap(rockboxlogo, 0, 0, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
line += BMPHEIGHT_rockboxlogo/SYSFONT_HEIGHT + 1;
}
static void usb_mode(void)
{
int button;
@ -126,13 +118,10 @@ int main(void)
else if(rc)
verbose = true;
/* Only enable backlight when button is pressed */
if(verbose)
backlight_init();
show_logo();
printf(MODEL_NAME" Rockbox Bootloader");
printf("Version "APPSVERSION);
rc = storage_init();
if(rc)
error(EATA, rc);