From 27b43f4036d5b4e95cdfb1b28e32b0c64701aee9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 4 Jan 2016 08:22:17 +1100 Subject: [PATCH] AC_PID: fixed example build warning --- libraries/AC_PID/examples/AC_PID_test/AC_PID_test.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/AC_PID/examples/AC_PID_test/AC_PID_test.cpp b/libraries/AC_PID/examples/AC_PID_test/AC_PID_test.cpp index 3986d064b9..f0ea522e9f 100644 --- a/libraries/AC_PID/examples/AC_PID_test/AC_PID_test.cpp +++ b/libraries/AC_PID/examples/AC_PID_test/AC_PID_test.cpp @@ -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());