From 8b1ac585dfd6eb13938f2090bff6a78b836a0452 Mon Sep 17 00:00:00 2001 From: Chris Sp Date: Tue, 7 Aug 2018 12:19:35 +0200 Subject: 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. --- include/libopencm3/stm32/f4/rcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3