Browse Source

Made save WP the default

Cosmetic updates
master
Jason Short 13 years ago
parent
commit
fbf09dbf2d
  1. 3
      ArduCopter/ArduCopter.pde
  2. 2
      ArduCopter/config.h

3
ArduCopter/ArduCopter.pde

@ -1102,8 +1102,7 @@ void update_throttle_mode(void) @@ -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;

2
ArduCopter/config.h

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

Loading…
Cancel
Save