forked from len0rd/rockbox
Disable bootloader messages in the H10 and Sansa bootloaders unless the PLAY (on H10) or RIGHT (on Sansa) button is being held. Messages are still displayed if an error occurs. This has already been implemented for iPod bootloaders, but still needs implementing for the other bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12742 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
62dbd97e90
commit
2370998a87
4 changed files with 61 additions and 20 deletions
|
|
@ -31,9 +31,15 @@
|
|||
/* Set this to true to enable lcd_update() in the printf function */
|
||||
extern bool verbose;
|
||||
|
||||
/* Error types */
|
||||
#define EATA -1
|
||||
#define EDISK -2
|
||||
#define EBOOTFILE -3
|
||||
|
||||
/* Functions common to all bootloaders */
|
||||
void reset_screen(void);
|
||||
void printf(const char *format, ...);
|
||||
char *strerror(int error);
|
||||
void error(int errortype, int error);
|
||||
int load_firmware(unsigned char* buf, char* firmware, int buffer_size);
|
||||
int load_raw_firmware(unsigned char* buf, char* firmware, int buffer_size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue