Made save WP the default

Cosmetic updates
This commit is contained in:
Jason Short 2011-11-20 12:49:00 -08:00
parent 477d26eb52
commit 57f3eafb52
2 changed files with 8 additions and 9 deletions

View File

@ -1102,8 +1102,7 @@ void update_throttle_mode(void)
altitude_error = get_altitude_error(); altitude_error = get_altitude_error();
// get the AP throttle // get the AP throttle
nav_throttle = get_nav_throttle(altitude_error);//, 250); //150 = target speed of 1.5m/s nav_throttle = get_nav_throttle(altitude_error);
//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());
// clear the new data flag // clear the new data flag
invalid_throttle = false; invalid_throttle = false;

View File

@ -71,7 +71,7 @@
// //
#ifndef CH7_OPTION #ifndef CH7_OPTION
# define CH7_OPTION CH7_SET_HOVER # define CH7_OPTION CH7_SAVE_WP
#endif #endif