Skip to content
Snippets Groups Projects
Commit c28d4e9a authored by rmackay9's avatar rmackay9
Browse files

AP_Motors: remove stray debug message re set-up of throttle curve

parent 4825d16c
No related branches found
No related tags found
No related merge requests found
......@@ -78,9 +78,6 @@ bool AP_Motors::setup_throttle_curve()
int16_t max_thrust_pwm = min_pwm + (float)(max_pwm - min_pwm) * ((float)_throttle_curve_max/100.0);
bool retval = true;
Serial.printf_P(PSTR("AP_Motors: setup_throttle_curve"));
Serial.printf_P(PSTR("mid:%d\tmax:%d\n"),(int)mid_thrust_pwm,(int)max_thrust_pwm);
// some basic checks that the curve is valid
if( mid_thrust_pwm >= (min_pwm+_min_throttle) && mid_thrust_pwm <= max_pwm && max_thrust_pwm >= mid_thrust_pwm && max_thrust_pwm <= max_pwm ) {
// clear curve
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment