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:
parent
21ab16a36f
commit
4b0ae10319
2 changed files with 2 additions and 13 deletions
|
@ -40,7 +40,7 @@
|
||||||
#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) \
|
#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) \
|
||||||
|| defined(SANSA_E200) || defined(SANSA_C200) || defined(GIGABEAT_F) \
|
|| defined(SANSA_E200) || defined(SANSA_C200) || defined(GIGABEAT_F) \
|
||||||
|| defined(PHILIPS_SA9200) || (CONFIG_CPU == AS3525) || defined(COWON_D2) \
|
|| 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;
|
bool verbose = false;
|
||||||
#else
|
#else
|
||||||
bool verbose = true;
|
bool verbose = true;
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#include "storage.h"
|
#include "storage.h"
|
||||||
#include "disk.h"
|
#include "disk.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "rockboxlogo.h"
|
|
||||||
|
|
||||||
static void show_splash(int timeout, const char *msg)
|
static void show_splash(int timeout, const char *msg)
|
||||||
{
|
{
|
||||||
|
@ -43,13 +42,6 @@ static void show_splash(int timeout, const char *msg)
|
||||||
sleep(timeout);
|
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)
|
static void usb_mode(void)
|
||||||
{
|
{
|
||||||
int button;
|
int button;
|
||||||
|
@ -126,13 +118,10 @@ int main(void)
|
||||||
else if(rc)
|
else if(rc)
|
||||||
verbose = true;
|
verbose = true;
|
||||||
|
|
||||||
|
/* Only enable backlight when button is pressed */
|
||||||
if(verbose)
|
if(verbose)
|
||||||
backlight_init();
|
backlight_init();
|
||||||
|
|
||||||
show_logo();
|
|
||||||
printf(MODEL_NAME" Rockbox Bootloader");
|
|
||||||
printf("Version "APPSVERSION);
|
|
||||||
|
|
||||||
rc = storage_init();
|
rc = storage_init();
|
||||||
if(rc)
|
if(rc)
|
||||||
error(EATA, rc);
|
error(EATA, rc);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue