mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
HAL_ChibiOS: expose stm32_flash_ispageerased()
This commit is contained in:
parent
b5fc7f10f3
commit
feefa05b41
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user