[HAL][FLASH] Remove all references to register bit PESD
diff --git a/Inc/stm32g0xx_hal_flash.h b/Inc/stm32g0xx_hal_flash.h
index 25a316a..d3eee26 100644
--- a/Inc/stm32g0xx_hal_flash.h
+++ b/Inc/stm32g0xx_hal_flash.h
@@ -197,9 +197,6 @@
#endif /* FLASH_DBANK_SUPPORT */
#define FLASH_FLAG_BSY FLASH_FLAG_BSY1 /*!< FLASH Operation Busy flag - legacy name for single bank */
#define FLASH_FLAG_CFGBSY ((FLASH_FLAG_SR_ID << FLASH_FLAG_REG_POS) | FLASH_SR_CFGBSY_Pos) /*!< FLASH Configuration Busy flag */
-#if defined(FLASH_DBANK_SUPPORT)
-#define FLASH_FLAG_PESD ((FLASH_FLAG_SR_ID << FLASH_FLAG_REG_POS) | FLASH_SR_PESD_Pos) /*!< FLASH Programming/erase operation suspended */
-#endif /* FLASH_DBANK_SUPPORT */
#define FLASH_FLAG_ECCC1 ((FLASH_FLAG_ECCR1_ID << FLASH_FLAG_REG_POS) | FLASH_ECCR_ECCC_Pos) /*!< FLASH ECC correction on bank 1 */
#define FLASH_FLAG_ECCD1 ((FLASH_FLAG_ECCR1_ID << FLASH_FLAG_REG_POS) | FLASH_ECCR_ECCD_Pos) /*!< FLASH ECC detection on bank 1 */
#if defined(FLASH_DBANK_SUPPORT)
@@ -905,11 +902,7 @@
FLASH_SR_OPTVERR) /*!< All SR error flags */
#endif /* FLASH_PCROP_SUPPORT */
-#if defined(FLASH_DBANK_SUPPORT)
-#define FLASH_SR_CLEAR (FLASH_SR_ERRORS | FLASH_SR_EOP | FLASH_SR_PESD)
-#else
#define FLASH_SR_CLEAR (FLASH_SR_ERRORS | FLASH_SR_EOP)
-#endif /* FLASH_DBANK_SUPPORT */
/* Internal defines for HAL macro usage */
#define FLASH_FLAG_REG_POS 16u