[bsp][stm32][driver][drv_pulse_encoder.c] code style
This commit is contained in:
parent
c11686751e
commit
4d796c8fb3
|
@ -226,9 +226,9 @@ void pulse_encoder_update_isr(struct stm32_pulse_encoder_device *device)
|
||||||
|
|
||||||
#ifdef BSP_USING_PULSE_ENCODER1
|
#ifdef BSP_USING_PULSE_ENCODER1
|
||||||
#if defined(SOC_SERIES_STM32F4)
|
#if defined(SOC_SERIES_STM32F4)
|
||||||
void TIM1_UP_TIM10_IRQHandler(void)
|
void TIM1_UP_TIM10_IRQHandler(void)
|
||||||
#elif defined(SOC_SERIES_STM32F1)
|
#elif defined(SOC_SERIES_STM32F1)
|
||||||
void TIM1_UP_IRQHandler(void)
|
void TIM1_UP_IRQHandler(void)
|
||||||
#else
|
#else
|
||||||
#error "Please check TIM1's IRQHandler"
|
#error "Please check TIM1's IRQHandler"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue