mirror of https://github.com/ArduPilot/ardupilot
AP_Mission: Change division to multiplication
This commit is contained in:
parent
a0ac6f22df
commit
9f2da4a763
|
@ -1821,7 +1821,7 @@ bool AP_Mission::mission_cmd_to_mavlink_int(const AP_Mission::Mission_Command& c
|
|||
|
||||
#if AP_MISSION_NAV_PAYLOAD_PLACE_ENABLED
|
||||
case MAV_CMD_NAV_PAYLOAD_PLACE:
|
||||
packet.param1 = cmd.p1/100.0f; // copy max-descend parameter (cm->m)
|
||||
packet.param1 = cmd.p1*0.01f; // copy max-descend parameter (cm->m)
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue