4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 17:03:30 +08:00

Update tim_config.h

This commit is contained in:
mulan 2019-07-04 12:50:44 +08:00 committed by GitHub
parent add4037764
commit 611886e709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,15 +72,15 @@ extern "C" {
#endif /* BSP_USING_TIM5 */
#ifdef BSP_USING_TIM7
#ifndef TIM5_CONFIG
#define TIM5_CONFIG \
#ifndef TIM7_CONFIG
#define TIM7_CONFIG \
{ \
.tim_handle.Instance = TIM7, \
.tim_irqn = TIM7_IRQn, \
.name = "timer7", \
}
#endif /* TIM7_CONFIG */
#endif /* BSP_USING_TIM5 */
#endif /* BSP_USING_TIM7 */
#ifdef __cplusplus
}