forked from len0rd/rockbox
fix more yellow
Change-Id: I74bad58707d05ea167169d4315c05eb0cd1c8b7b
This commit is contained in:
parent
b94db707fb
commit
09785a8499
6 changed files with 16 additions and 6 deletions
|
@ -460,7 +460,7 @@ void show_fatal_error(void)
|
|||
int flash_bootloader(const char *filename)
|
||||
{
|
||||
char *bootsector;
|
||||
int pos, i, len, rc;
|
||||
int pos, i, len/*, rc*/;
|
||||
unsigned long checksum, sum;
|
||||
unsigned char *p8;
|
||||
uint16_t *p16;
|
||||
|
@ -509,7 +509,7 @@ int flash_bootloader(const char *filename)
|
|||
|
||||
/* Erase the bootloader flash section. */
|
||||
for (i = BOOTLOADER_ENTRYPOINT/SEC_SIZE; i < 0x200; i++)
|
||||
rc = cfi_erase_sector(FB + (SEC_SIZE/2) * i);
|
||||
/*rc =*/ cfi_erase_sector(FB + (SEC_SIZE/2) * i);
|
||||
|
||||
pos = BOOTLOADER_ENTRYPOINT/2;
|
||||
p16 = (uint16_t *)audiobuf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue