mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
fix can rx fifo bug
This commit is contained in:
@@ -242,7 +242,7 @@ void DJIMotorControl()
|
||||
group = motor->sender_group;
|
||||
num = motor->message_num;
|
||||
sender_assignment[group].tx_buff[num] = 0xff & set >> 8;
|
||||
sender_assignment[group].tx_buff[num + 1] = 0xff & set;
|
||||
sender_assignment[group].tx_buff[2*num + 1] = 0xff & set;
|
||||
}
|
||||
else // 遇到空指针说明所有遍历结束,退出循环
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user