AP_AutoTune: fix compile warnings re float constants

This commit is contained in:
Tom Pittenger 2015-04-24 12:24:16 +09:00 committed by Randy Mackay
parent 2f9e0c1938
commit 7132b39dcf

View File

@ -60,8 +60,8 @@ extern const AP_HAL::HAL& hal;
#define AUTOTUNE_MIN_P 0.3f
// tau ranges
#define AUTOTUNE_MAX_TAU 0.7
#define AUTOTUNE_MIN_TAU 0.2
#define AUTOTUNE_MAX_TAU 0.7f
#define AUTOTUNE_MIN_TAU 0.2f
#define AUTOTUNE_MIN_IMAX 2000
#define AUTOTUNE_MAX_IMAX 4000