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){