Browse Source

fix make issue

master
Michael Oborne 14 years ago
parent
commit
f9883bf382
  1. 2
      ArduCopter/Attitude.pde

2
ArduCopter/Attitude.pde

@ -85,7 +85,7 @@ get_stabilize_yaw(long target_angle)
#define ALT_ERROR_MAX 400 #define ALT_ERROR_MAX 400
static int static int
get_nav_throttle(long z_error)//, //int target_speed) get_nav_throttle(long z_error)
{ {
// limit error to prevent I term run up // limit error to prevent I term run up
z_error = constrain(z_error, -ALT_ERROR_MAX, ALT_ERROR_MAX); z_error = constrain(z_error, -ALT_ERROR_MAX, ALT_ERROR_MAX);

Loading…
Cancel
Save