AP_Mission: Change division to multiplication

This commit is contained in:
muramura 2024-05-02 05:12:50 +09:00 committed by Peter Barker
parent a0ac6f22df
commit 9f2da4a763
1 changed files with 1 additions and 1 deletions

View File

@ -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