diff options
author | Chris Sp <chrspangler@gmx.de> | 2018-08-07 13:19:35 +0300 |
---|---|---|
committer | Karl Palsson <karlp@etactica.com> | 2018-08-07 18:12:58 +0300 |
commit | 8b1ac585dfd6eb13938f2090bff6a78b836a0452 (patch) | |
tree | 2e6015c194c687e85defcd3baddccc8ffea6e516 | |
parent | ddc7ab8c6cdecda1c071513147a0b67f66c2a5d1 (diff) |
stm32f4: rcc: typo fix MCO2
Just a small typo I came across while trying to get MCO to work on my board.
The define is not used in any other files as far as I can tell, but of
course applications might break if they use the misspelt variant.
-rw-r--r-- | include/libopencm3/stm32/f4/rcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libopencm3/stm32/f4/rcc.h b/include/libopencm3/stm32/f4/rcc.h index 0e9a2c8c..60366b69 100644 --- a/include/libopencm3/stm32/f4/rcc.h +++ b/include/libopencm3/stm32/f4/rcc.h @@ -168,7 +168,7 @@ @{*/ /* MCO2: Microcontroller clock output 2 */ #define RCC_CFGR_MCO2_SHIFT 30 -#define RCC_CFGR_MC02_MASK 0x3 +#define RCC_CFGR_MCO2_MASK 0x3 #define RCC_CFGR_MCO2_SYSCLK 0x0 #define RCC_CFGR_MCO2_PLLI2S 0x1 #define RCC_CFGR_MCO2_HSE 0x2 |