forked from Archive/PX4-Autopilot
VMount: use correct doube interface
This commit is contained in:
parent
91c982758e
commit
ef233d29f0
|
@ -259,7 +259,7 @@ int InputMavlinkCmdMount::update_impl(unsigned int timeout_ms, ControlData **con
|
|||
break;
|
||||
|
||||
case vehicle_command_s::VEHICLE_MOUNT_MODE_GPS_POINT:
|
||||
control_data_set_lon_lat(vehicle_command.param2, vehicle_command.param1, vehicle_command.param3);
|
||||
control_data_set_lon_lat((double)vehicle_command.param2, (double)vehicle_command.param1, vehicle_command.param3);
|
||||
|
||||
*control_data = &_control_data;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue