diff --git a/ArduCopter/control_modes.pde b/ArduCopter/control_modes.pde index 23ba1e6c5f..3da3408df1 100644 --- a/ArduCopter/control_modes.pde +++ b/ArduCopter/control_modes.pde @@ -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);