AHRS_NavEKF: resolve compiler warning re signed vs unsigned comparison

This commit is contained in:
Randy Mackay 2016-01-07 11:57:00 +09:00
parent 67c3cf3d9b
commit f6b909d0a5
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ void AP_AHRS_NavEKF::update_EKF1(void)
start_time_ms = AP_HAL::millis();
}
// slight extra delay on EKF1 to prioritise EKF2 for memory
if (AP_HAL::millis() - start_time_ms > startup_delay_ms + 100) {
if (AP_HAL::millis() - start_time_ms > startup_delay_ms + 100U) {
ekf1_started = EKF1.InitialiseFilterDynamic();
}
}