aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/rcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/rcc.h')
-rw-r--r--libmaple/rcc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmaple/rcc.h b/libmaple/rcc.h
index 9973bca..cb3c543 100644
--- a/libmaple/rcc.h
+++ b/libmaple/rcc.h
@@ -65,8 +65,8 @@
#define PLLON BIT(24)
#define PLL_INPUT_CLK_HSE BIT(16)
-#define RCC_CFGR_SWS 0x00000003
-#define RCC_CFGR_SWS_PLL 0x00000002
+#define RCC_CFGR_SW 0x00000003
+#define RCC_CFGR_SW_PLL 0x00000002
/* APB2 reset bits */
#define RCC_APB2RSTR_USART1RST BIT(14)