修rc发送
This commit is contained in:
parent
fcbb76fda4
commit
e1c1c07b52
@ -73,7 +73,7 @@ void Task_rc(void *argument) {
|
||||
rc_can.data.joy.ch_r_y = dr16.data.ch_r_y;
|
||||
rc_can.data.sw.sw_l = (RC_CAN_SW_t)dr16.data.sw_l;
|
||||
rc_can.data.sw.sw_r = (RC_CAN_SW_t)dr16.data.sw_r;
|
||||
rc_can.data.sw.ch_res = dr16.data.res;
|
||||
rc_can.data.sw.ch_res = dr16.data.ch_res;
|
||||
|
||||
RC_CAN_SendData(&rc_can, RC_CAN_DATA_JOYSTICK);
|
||||
RC_CAN_SendData(&rc_can, RC_CAN_DATA_SWITCH);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user