stm32: flash: BSY bit has never been writable.
This has been copied around for years, but has never been a writable bit on any target.
This commit is contained in:
@@ -127,16 +127,6 @@ void flash_clear_wrprterr_flag(void)
|
||||
FLASH_SR |= FLASH_SR_WRPRTERR;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/** @brief Clear the Busy Status Flag
|
||||
|
||||
*/
|
||||
|
||||
void flash_clear_bsy_flag(void)
|
||||
{
|
||||
FLASH_SR &= ~FLASH_SR_BSY;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/** @brief Wait until Last Operation has Ended
|
||||
|
||||
|
||||
Reference in New Issue
Block a user