From 26ae090e7295b1585a86e2d4440ad55c0dbed9b7 Mon Sep 17 00:00:00 2001 From: bmy <2583236812@qq.com> Date: Wed, 5 Jun 2024 11:11:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=81=AF=E6=9D=A1?= =?UTF-8?q?=E4=B8=8E=E8=9C=82=E9=B8=A3=E5=99=A8=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/by_messy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/by_messy.c b/app/by_messy.c index da7e56f..2f7e778 100644 --- a/app/by_messy.c +++ b/app/by_messy.c @@ -151,13 +151,13 @@ void by_messy_loop(void) case 0x61: // 设置闪灯 by_frame_send(cmd, buff); memcpy(buff_t_u8, buff, sizeof(buff[1])); - gpio_bits_write(GPIOC, GPIO_PINS_3, buff_t_u8[0] ? FALSE : TRUE); // 灯条 + gpio_bits_write(GPIOB, GPIO_PINS_6, buff_t_u8[0] ? TRUE : FALSE); // 灯条 break; case 0x62: // 设置蜂鸣器 by_frame_send(cmd, buff); memcpy(buff_t_u8, buff, sizeof(buff[1])); - gpio_bits_write(GPIOC, GPIO_PINS_2, buff_t_u8[0] ? FALSE : TRUE); // 灯条 + gpio_bits_write(GPIOB, GPIO_PINS_7, buff_t_u8[0] ? TRUE : FALSE); // 灯条 break; default: