未验证 提交 611886e7 编写于 作者: M mulan 提交者: GitHub

Update tim_config.h

上级 add40377
...@@ -72,15 +72,15 @@ extern "C" { ...@@ -72,15 +72,15 @@ extern "C" {
#endif /* BSP_USING_TIM5 */ #endif /* BSP_USING_TIM5 */
#ifdef BSP_USING_TIM7 #ifdef BSP_USING_TIM7
#ifndef TIM5_CONFIG #ifndef TIM7_CONFIG
#define TIM5_CONFIG \ #define TIM7_CONFIG \
{ \ { \
.tim_handle.Instance = TIM7, \ .tim_handle.Instance = TIM7, \
.tim_irqn = TIM7_IRQn, \ .tim_irqn = TIM7_IRQn, \
.name = "timer7", \ .name = "timer7", \
} }
#endif /* TIM7_CONFIG */ #endif /* TIM7_CONFIG */
#endif /* BSP_USING_TIM5 */ #endif /* BSP_USING_TIM7 */
#ifdef __cplusplus #ifdef __cplusplus
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册