修复遥控对码和速度同步
This commit is contained in:
@@ -143,6 +143,8 @@ void scan_uart(uint8_t *arr)
|
||||
break;
|
||||
case 5:
|
||||
if(POWEROFF==deviceStatus)break;
|
||||
if(user_rx_buf[1] > SPEED_MAX_LEVEL)
|
||||
user_rx_buf[1] = SPEED_MAX_LEVEL;
|
||||
Speed =user_rx_buf[1];
|
||||
break;
|
||||
case 6:
|
||||
|
||||
Reference in New Issue
Block a user