clean up
This commit is contained in:
parent
433523b28a
commit
4846bde987
@ -72,7 +72,7 @@ void flash_flush(void)
|
||||
_fl_addr = NO_CACHE;
|
||||
}
|
||||
|
||||
void flash_write (uint32_t dst, const uint8_t *src, int len)
|
||||
void flash_write (uint32_t dst, const void *src, int len)
|
||||
{
|
||||
uint32_t newAddr = dst & ~(FLASH_PAGE_SIZE - 1);
|
||||
|
||||
|
@ -47,7 +47,7 @@
|
||||
#endif
|
||||
|
||||
//void flash_erase(uint32_t page_addr);
|
||||
void flash_write(uint32_t dst, const uint8_t *src, int len);
|
||||
void flash_write(uint32_t dst, const void *src, int len);
|
||||
void flash_flush(void);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user