mirror of
https://github.com/apache/nuttx.git
synced 2026-09-07 09:26:38 +00:00
STM32 TIM3/4 are always 16-bits; never 32-bits. Noted by Eetu Nevalainen.
This commit is contained in:
parent
8924bccd63
commit
79e5d2b7b6
1 changed files with 2 additions and 7 deletions
|
|
@ -73,13 +73,8 @@
|
|||
#else
|
||||
# define STM32_TIM2_RES 32
|
||||
#endif
|
||||
#if defined(CONFIG_STM32_STM32L20XX) || defined(CONFIG_STM32_STM32F4XXX)
|
||||
# define STM32_TIM3_RES 32
|
||||
# define STM32_TIM4_RES 32
|
||||
#else
|
||||
# define STM32_TIM3_RES 16
|
||||
# define STM32_TIM4_RES 16
|
||||
#endif
|
||||
#define STM32_TIM3_RES 16
|
||||
#define STM32_TIM4_RES 16
|
||||
#if defined(CONFIG_STM32_STM32F10XX) || defined(CONFIG_STM32_STM32F30XX)
|
||||
# define STM32_TIM5_RES 16
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue