stm32f7: rcc: replace magics with existing defines

The defines already existed, use them, rather than the copied constants
from F4 code.
This commit is contained in:
Karl Palsson
2017-01-14 15:29:55 +00:00
parent c285bcb493
commit d2540e5fc6
2 changed files with 11 additions and 10 deletions

View File

@@ -166,6 +166,7 @@
/* SW: System clock switch */
#define RCC_CFGR_SW_SHIFT 0
#define RCC_CFGR_SW_MASK 0x3
#define RCC_CFGR_SW_HSI 0x0
#define RCC_CFGR_SW_HSE 0x1
#define RCC_CFGR_SW_PLL 0x2