From 4aa84e178e873095caed63bb441d1b82e61c3e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E7=90=AA?= Date: Tue, 28 Jul 2026 14:56:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8DPWM63D=E4=BA=AE=E5=BA=A6?= =?UTF-8?q?=E4=B8=8E=E9=80=9F=E5=BA=A6=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/example/ble/ble_peripheral/app/src/uart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/example/ble/ble_peripheral/app/src/uart.c b/project/example/ble/ble_peripheral/app/src/uart.c index 3b58b0c..775f6df 100644 --- a/project/example/ble/ble_peripheral/app/src/uart.c +++ b/project/example/ble/ble_peripheral/app/src/uart.c @@ -129,10 +129,10 @@ void scan_uart(uint8_t *arr) choose_mode_falsg=user_rx_buf[1]-1U; startTimer(&timer1,1); break; - case 3: + case 5: break; - case 4: + case 3: if(POWEROFF==deviceStatus)break; if(Mode==mode0){ if(user_rx_buf[1] < BRIGHTNESS_MIN_PERCENT) @@ -142,7 +142,7 @@ void scan_uart(uint8_t *arr) Brightness = user_rx_buf[1]; } break; - case 5: + case 4: if(POWEROFF==deviceStatus)break; if(user_rx_buf[1] > SPEED_MAX_LEVEL) user_rx_buf[1] = SPEED_MAX_LEVEL;