pref: 修改蜂鸣器为非阻塞形式

This commit is contained in:
bmy
2024-04-16 01:49:04 +08:00
parent ca28f41448
commit 02588f6411
4 changed files with 16 additions and 9 deletions

View File

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