AP_NavEKF2: (potential) compiler warning of float to double promotion

This commit is contained in:
Tom Pittenger 2016-05-17 20:30:51 -07:00
parent 3c6323dd82
commit d67b1edf10

View File

@ -499,7 +499,7 @@ void NavEKF2::check_log_write(void)
}
// this is an example of an ad-hoc log in EKF
// DataFlash_Class::instance()->Log_Write("NKA", "TimeUS,X", "Qf", AP_HAL::micros64(), 2.4f);
// DataFlash_Class::instance()->Log_Write("NKA", "TimeUS,X", "Qf", AP_HAL::micros64(), (double)2.4f);
}