add -Wextra: further code cleanup

please fix Wno-unused-parameter -Wno-missing-field-initializers in the future
This commit is contained in:
yparitcher
2019-01-06 11:41:56 -05:00
parent 400b37a96a
commit 1dd835d698
14 changed files with 35 additions and 32 deletions

View File

@ -133,7 +133,7 @@ void flash_write_dword(uint32_t addr, uint64_t data)
void flash_write(uint32_t addr, uint8_t * data, size_t sz)
{
int i;
unsigned int i;
uint8_t buf[8];
while (FLASH->SR & (1<<16))
;