From dbfe98aa4bdc451cb5681dfb34ae756a424c63d1 Mon Sep 17 00:00:00 2001 From: sunbeam Date: Mon, 27 May 2024 22:11:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=9C=82=E9=B8=A3=E5=99=A8=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/user/appTask.c | 2 +- app/user/buzzer.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/user/appTask.c b/app/user/appTask.c index b8ae1fd..4ff2953 100644 --- a/app/user/appTask.c +++ b/app/user/appTask.c @@ -264,7 +264,7 @@ void value_init(void) MotorValueInit(); - + buzzer_init(); } diff --git a/app/user/buzzer.c b/app/user/buzzer.c index 75312ed..72fdd5a 100644 --- a/app/user/buzzer.c +++ b/app/user/buzzer.c @@ -8,6 +8,7 @@ void buzzer_init(void) { buzzer_state = 0; buzzer_count = 0; + buzzer_stop(); }