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