mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
Made save WP the default
Cosmetic updates
This commit is contained in:
parent
477d26eb52
commit
57f3eafb52
@ -1102,8 +1102,7 @@ void update_throttle_mode(void)
|
||||
altitude_error = get_altitude_error();
|
||||
|
||||
// get the AP throttle
|
||||
nav_throttle = get_nav_throttle(altitude_error);//, 250); //150 = target speed of 1.5m/s
|
||||
//Serial.printf("in:%d, cr:%d, NT:%d, I:%1.4f\n", g.rc_3.control_in,altitude_error, nav_throttle, g.pi_throttle.get_integrator());
|
||||
nav_throttle = get_nav_throttle(altitude_error);
|
||||
|
||||
// clear the new data flag
|
||||
invalid_throttle = false;
|
||||
|
@ -71,7 +71,7 @@
|
||||
//
|
||||
|
||||
#ifndef CH7_OPTION
|
||||
# define CH7_OPTION CH7_SET_HOVER
|
||||
# define CH7_OPTION CH7_SAVE_WP
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user