From 6b6a72d0efddf2a5c5d18e92bd3492c265f2ae68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E7=90=AA?= Date: Tue, 28 Jul 2026 12:26:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E4=B8=AD=E6=80=A7=E5=85=89?= =?UTF-8?q?=E4=B8=8E=E5=8D=95=E8=89=B2=E5=91=BC=E5=90=B8=E5=91=A8=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/example/ble/ble_peripheral/app/src/Mode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project/example/ble/ble_peripheral/app/src/Mode.c b/project/example/ble/ble_peripheral/app/src/Mode.c index d79faaa..612d4c0 100644 --- a/project/example/ble/ble_peripheral/app/src/Mode.c +++ b/project/example/ble/ble_peripheral/app/src/Mode.c @@ -11,6 +11,7 @@ uint16_t time_1[11]={8,10,12,14,16,18,20,22,24,26,26}; +static const uint16_t time_1_neutral[11]={20,25,30,36,41,46,51,56,61,66,66}; uint16_t time_2[11]={100,200,300,400,500,600,700,800,900,1000,1000}; uint16_t time_3[11]={200, 350, 450, 550, 650, 750, 850, 950, 1200,1500,1500}; @@ -410,7 +411,7 @@ void choice_mode(){ if(breathespeed_flag==0){ startTimer(&timer1,time_1[Speed]); }else { - startTimer(&timer1,time_1[Speed]+10); + startTimer(&timer1,time_1_neutral[Speed]); } }else if(Mode==mode2){