蜂鸣器初始化

This commit is contained in:
sunbeam 2024-05-27 22:11:54 +08:00
parent ddb91811b2
commit dbfe98aa4b
2 changed files with 2 additions and 1 deletions

View File

@ -264,7 +264,7 @@ void value_init(void)
MotorValueInit(); MotorValueInit();
buzzer_init();
} }

View File

@ -8,6 +8,7 @@ void buzzer_init(void)
{ {
buzzer_state = 0; buzzer_state = 0;
buzzer_count = 0; buzzer_count = 0;
buzzer_stop();
} }