mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-23 19:25:09 +08:00
框架更新
This commit is contained in:
@@ -300,7 +300,7 @@ void DJIMotorControl()
|
||||
|
||||
// 若该电机处于停止状态,直接将buff置零
|
||||
if (motor->stop_flag == MOTOR_STOP)
|
||||
memset(sender_assignment[group].tx_buff + 2 * num, 0, 16u);
|
||||
memset(sender_assignment[group].tx_buff + 2 * num, 0, sizeof(uint16_t));
|
||||
}
|
||||
|
||||
// 遍历flag,检查是否要发送这一帧报文
|
||||
|
||||
Reference in New Issue
Block a user