Skip to content

Commit

Permalink
Fixed new cppcheck warning in hal/stm32c0.c
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Oct 13, 2023
1 parent b5c8bc8 commit 5f5b4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hal/stm32c0.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
#define FLASH_SR_PROGERR (1 << 3) /* RM0490 - 3.7.4 - FLASH_SR */
#define FLASH_SR_EOP (1 << 0) /* RM0490 - 3.7.4 - FLASH_SR */

#define FLASH_CR_LOCK (1 << 31) /* RM0490 - 3.7.5 - FLASH_CR */
#define FLASH_CR_LOCK (1UL << 31) /* RM0490 - 3.7.5 - FLASH_CR */
#define FLASH_CR_STRT (1 << 16) /* RM0490 - 3.7.5 - FLASH_CR */

#define FLASH_CR_PER (1 << 1) /* RM0490 - 3.7.5 - FLASH_CR */
Expand Down

0 comments on commit 5f5b4a5

Please sign in to comment.