HAL_ChibiOS: expose stm32_flash_ispageerased()

This commit is contained in:
Andrew Tridgell 2018-06-25 10:33:15 +10:00
parent b5fc7f10f3
commit feefa05b41
2 changed files with 2 additions and 1 deletions

View File

@ -218,7 +218,7 @@ uint32_t stm32_flash_getnumpages()
return STM32_FLASH_NPAGES;
}
static bool stm32_flash_ispageerased(uint32_t page)
bool stm32_flash_ispageerased(uint32_t page)
{
uint32_t addr;
uint32_t count;

View File

@ -26,6 +26,7 @@ uint32_t stm32_flash_getnumpages(void);
bool stm32_flash_erasepage(uint32_t page);
int32_t stm32_flash_write(uint32_t addr, const void *buf, uint32_t count);
void stm32_flash_keep_unlocked(bool set);
bool stm32_flash_ispageerased(uint32_t page);
#ifdef __cplusplus
}
#endif