1
0
Fork 0
forked from len0rd/rockbox

fix more yellow

Change-Id: I74bad58707d05ea167169d4315c05eb0cd1c8b7b
This commit is contained in:
Solomon Peachy 2020-10-13 17:09:13 -04:00
parent b94db707fb
commit 09785a8499
6 changed files with 16 additions and 6 deletions

View file

@ -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;