diff options
author | Damien George <damien.p.george@gmail.com> | 2018-05-02 13:11:56 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-05-02 13:11:56 +1000 |
commit | 4c0f664b1aaa7b4b3253060799113139f5dfd8cb (patch) | |
tree | c8d4d8cd067d004a2007e512d5611d246a716952 /ports/stm32/flash.h | |
parent | edb600b6a272eeba24c2a656e9486b7afc874327 (diff) | |
download | micropython-4c0f664b1aaa7b4b3253060799113139f5dfd8cb.tar.gz micropython-4c0f664b1aaa7b4b3253060799113139f5dfd8cb.zip |
stm32/flash: Remove unused src parameter from flash_erase().
Diffstat (limited to 'ports/stm32/flash.h')
-rw-r--r-- | ports/stm32/flash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/flash.h b/ports/stm32/flash.h index d69f6e27f6..b9edf61061 100644 --- a/ports/stm32/flash.h +++ b/ports/stm32/flash.h @@ -27,7 +27,7 @@ #define MICROPY_INCLUDED_STM32_FLASH_H uint32_t flash_get_sector_info(uint32_t addr, uint32_t *start_addr, uint32_t *size); -void flash_erase(uint32_t flash_dest, const uint32_t *src, uint32_t num_word32); +void flash_erase(uint32_t flash_dest, uint32_t num_word32); void flash_write(uint32_t flash_dest, const uint32_t *src, uint32_t num_word32); #endif // MICROPY_INCLUDED_STM32_FLASH_H |