Merge pull request #2254 from kd0aij/release_v1.0.0

fix type mismatch
This commit is contained in:
Lorenz Meier 2015-05-29 09:30:27 -07:00
commit fc90d93191
1 changed files with 1 additions and 1 deletions

View File

@ -1009,7 +1009,7 @@ PX4IO::task_main()
orb_copy(ORB_ID(vehicle_command), _t_vehicle_command, &cmd);
// 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);
}
}