diff options
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 12cdaca55..ecda923db 100644 --- a/ports/stm32/flash.h +++ b/ports/stm32/flash.h @@ -27,7 +27,7 @@ #define MICROPY_INCLUDED_STM32_FLASH_H bool flash_is_valid_addr(uint32_t addr); -uint32_t flash_get_sector_info(uint32_t addr, uint32_t *start_addr, uint32_t *size); +int32_t flash_get_sector_info(uint32_t addr, uint32_t *start_addr, uint32_t *size); int flash_erase(uint32_t flash_dest, uint32_t num_word32); int flash_write(uint32_t flash_dest, const uint32_t *src, uint32_t num_word32); |