扩展十三种灯光效果模式

This commit is contained in:
2026-07-28 13:14:11 +08:00
parent 6532524f81
commit e66570c005
7 changed files with 185 additions and 229 deletions
@@ -124,8 +124,9 @@ void scan_uart(uint8_t *arr)
break;
case 2:
if(POWEROFF==deviceStatus)break;
if(user_rx_buf[1] < 1U || user_rx_buf[1] > (EFFECT_MODE_MAX + 1U)) break;
choose_mode_bh=0;
choose_mode_falsg=user_rx_buf[1]-1;
choose_mode_falsg=user_rx_buf[1]-1U;
startTimer(&timer1,1);
break;
case 3:
@@ -153,7 +154,7 @@ void scan_uart(uint8_t *arr)
temperature(user_rx_buf[1]);
Mode=mode0;
choose_mode_bh=0;
choose_mode_falsg=10;//圆环模式
choose_mode_falsg=CUSTOM_TEMPERATURE_MODE;//圆环模式
startTimer(&timer1,1);
break;
case 10: