feat: 更新测速编码器配置

This commit is contained in:
bmy
2024-04-16 10:54:44 +08:00
parent 36ca756209
commit 2b3e70f0e9
4 changed files with 7 additions and 7 deletions

View File

@@ -272,9 +272,9 @@ void EXTI15_10_IRQHandler(void)
void TIM1_UP_IRQHandler(void)
{
if (TIM_GetITStatus(TIM1, TIM_IT_Update) != RESET) {
TIM_ClearITPendingBit(TIM1, TIM_IT_Update);
by_buzzer_run();
sport_motion();
TIM_ClearITPendingBit(TIM1, TIM_IT_Update);
}
}