From 95e79a1332cb4a957eb64472e81c20747d62b2bd Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Thu, 31 Oct 2024 21:36:09 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96pwm=20stop=E8=BF=94=E5=9B=9E?= =?utf8?q?=E5=80=BC=E7=9A=84=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/drivers/peripheral/vibrator/vibrator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdk/drivers/peripheral/vibrator/vibrator.c b/code/sdk/drivers/peripheral/vibrator/vibrator.c index d3fc91578..c4e9cf74d 100644 --- a/code/sdk/drivers/peripheral/vibrator/vibrator.c +++ b/code/sdk/drivers/peripheral/vibrator/vibrator.c @@ -146,7 +146,7 @@ static int pwm_stop(void) #ifdef VIB_DEBUG PRINT("+++++++ pwm stoped +++++++ \r\n"); #endif - return 0; + return ret; } static uint8_t vibrating = 0; -- 2.17.1