Skip to content

Commit 41253e2

Browse files
committed
[HAL][FLASH] Fix inverted OB_IRH_ENABLE and OB_IRH_DISABLE defines
1 parent 6748d53 commit 41253e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Inc/stm32c0xx_hal_flash.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,8 @@ typedef struct
480480
/** @defgroup FLASH_OB_USER_INPUT_RESET_HOLDER FLASH Option Bytes User input reset holder bit
481481
* @{
482482
*/
483-
#define OB_IRH_ENABLE 0x00000000U /*!< Internal Reset handler enable */
484-
#define OB_IRH_DISABLE FLASH_OPTR_IRHEN /*!< Internal Reset handler disable */
483+
#define OB_IRH_ENABLE FLASH_OPTR_IRHEN /*!< Internal Reset handler enable */
484+
#define OB_IRH_DISABLE 0x00000000U /*!< Internal Reset handler disable */
485485
/**
486486
* @}
487487
*/

0 commit comments

Comments
 (0)