We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5c8bc8 commit 5f5b4a5Copy full SHA for 5f5b4a5
1 file changed
hal/stm32c0.c
@@ -88,7 +88,7 @@
88
#define FLASH_SR_PROGERR (1 << 3) /* RM0490 - 3.7.4 - FLASH_SR */
89
#define FLASH_SR_EOP (1 << 0) /* RM0490 - 3.7.4 - FLASH_SR */
90
91
-#define FLASH_CR_LOCK (1 << 31) /* RM0490 - 3.7.5 - FLASH_CR */
+#define FLASH_CR_LOCK (1UL << 31) /* RM0490 - 3.7.5 - FLASH_CR */
92
#define FLASH_CR_STRT (1 << 16) /* RM0490 - 3.7.5 - FLASH_CR */
93
94
#define FLASH_CR_PER (1 << 1) /* RM0490 - 3.7.5 - FLASH_CR */
0 commit comments