mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -04:00
renamed set_command_with_index
This commit is contained in:
parent
4967251f16
commit
4288280025
@ -107,7 +107,7 @@ static void read_trim_switch()
|
|||||||
current_loc.id = MAV_CMD_NAV_WAYPOINT;
|
current_loc.id = MAV_CMD_NAV_WAYPOINT;
|
||||||
|
|
||||||
// save command
|
// save command
|
||||||
set_command_with_index(current_loc, CH7_wp_index);
|
set_cmd_with_index(current_loc, CH7_wp_index);
|
||||||
|
|
||||||
// save the index
|
// save the index
|
||||||
g.command_total.set_and_save(CH7_wp_index + 1);
|
g.command_total.set_and_save(CH7_wp_index + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user