AC_PID: fixed example build warning

This commit is contained in:
Andrew Tridgell 2016-01-04 08:22:17 +11:00
parent 1450f33b51
commit 27b43f4036
1 changed files with 0 additions and 1 deletions

View File

@ -36,7 +36,6 @@ void loop()
uint16_t radio_trim;
int16_t error;
float control_P, control_I, control_D;
float dt = 1000/50;
// display PID gains
hal.console->printf("P %f I %f D %f imax %f\n", (float)pid.kP(), (float)pid.kI(), (float)pid.kD(), (float)pid.imax());