AC_PrecLand: add floating point specifier on constant

This commit is contained in:
Peter Barker 2019-04-04 15:57:42 +11:00 committed by Tom Pittenger
parent 112ace8adb
commit 63e75459e2
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ const AP_Param::GroupInfo AC_PrecLand::var_info[] = {
// @Units: s
// @User: Advanced
// @RebootRequired: True
AP_GROUPINFO("LAG", 9, AC_PrecLand, _lag, 0.02), // 20ms is the old default buffer size (8 frames @ 400hz/2.5ms)
AP_GROUPINFO("LAG", 9, AC_PrecLand, _lag, 0.02f), // 20ms is the old default buffer size (8 frames @ 400hz/2.5ms)
AP_GROUPEND
};