diff options
author | bryan newbold <bnewbold@robocracy.org> | 2015-06-12 02:50:37 -0700 |
---|---|---|
committer | bryan newbold <bnewbold@robocracy.org> | 2015-06-12 03:16:03 -0700 |
commit | a0cb9f1735a83ff66e5af935b223def8d287b77f (patch) | |
tree | cb5dfb9bb5ccd272ef725db9588ffdf971b28466 /libmaple | |
parent | 3982269afb1cb881abd256f77800aa80b45b421c (diff) | |
download | librambutan-a0cb9f1735a83ff66e5af935b223def8d287b77f.tar.gz librambutan-a0cb9f1735a83ff66e5af935b223def8d287b77f.zip |
stm32f2-f4: rcc.h: order RCC_TIMER* numerically, not alphabetically
This avoids a bug with instantiating Wirish HardwareTimers.
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/stm32f2-f4/include/series/rcc.h | 10 |
1 files changed, 5 insertions, 5 deletions
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, |