From a0cb9f1735a83ff66e5af935b223def8d287b77f Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Fri, 12 Jun 2015 02:50:37 -0700 Subject: stm32f2-f4: rcc.h: order RCC_TIMER* numerically, not alphabetically This avoids a bug with instantiating Wirish HardwareTimers. --- libmaple/stm32f2-f4/include/series/rcc.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libmaple/stm32f2-f4') diff --git a/libmaple/stm32f2-f4/include/series/rcc.h b/libmaple/stm32f2-f4/include/series/rcc.h index 7cb7df1..5108f66 100644 --- a/libmaple/stm32f2-f4/include/series/rcc.h +++ b/libmaple/stm32f2-f4/include/series/rcc.h @@ -804,11 +804,6 @@ typedef enum rcc_clk_id { RCC_SPI3, RCC_SYSCFG, RCC_TIMER1, - RCC_TIMER10, - RCC_TIMER11, - RCC_TIMER12, - RCC_TIMER13, - RCC_TIMER14, RCC_TIMER2, RCC_TIMER3, RCC_TIMER4, @@ -817,6 +812,11 @@ typedef enum rcc_clk_id { RCC_TIMER7, RCC_TIMER8, RCC_TIMER9, + RCC_TIMER10, + RCC_TIMER11, + RCC_TIMER12, + RCC_TIMER13, + RCC_TIMER14, RCC_USART1, RCC_USART2, RCC_USART3, -- cgit v1.2.3