mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 11:11:36 +08:00
fix type mismatch
This commit is contained in:
@@ -1009,7 +1009,7 @@ PX4IO::task_main()
|
|||||||
orb_copy(ORB_ID(vehicle_command), _t_vehicle_command, &cmd);
|
orb_copy(ORB_ID(vehicle_command), _t_vehicle_command, &cmd);
|
||||||
|
|
||||||
// Check for a DSM pairing command
|
// Check for a DSM pairing command
|
||||||
if (((int)cmd.command == vehicle_command_s::VEHICLE_CMD_START_RX_PAIR) && ((int)cmd.param1 == 0)) {
|
if (((uint32_t)cmd.command == vehicle_command_s::VEHICLE_CMD_START_RX_PAIR) && ((int)cmd.param1 == 0)) {
|
||||||
dsm_bind_ioctl((int)cmd.param2);
|
dsm_bind_ioctl((int)cmd.param2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user