无刷完赛

This commit is contained in:
2024-07-05 03:29:56 +08:00
parent e842452ec6
commit 34aae6602a
4 changed files with 123 additions and 110 deletions

View File

@@ -273,8 +273,7 @@ void EXTI15_10_IRQHandler(void)
void TIM1_UP_IRQHandler(void)
{
if (TIM_GetITStatus(TIM1, TIM_IT_Update) != RESET) {
by_buzzer_run();
sport_motion();
TIM_ClearITPendingBit(TIM1, TIM_IT_Update);
}
}
@@ -310,7 +309,8 @@ void TIM5_IRQHandler(void)
void TIM6_IRQHandler(void)
{
if (TIM_GetITStatus(TIM6, TIM_IT_Update) != RESET) {
// ICM_getEulerianAngles();
by_buzzer_run();
sport_motion();
TIM_ClearITPendingBit(TIM6, TIM_IT_Update);
}
}