mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 02:28:29 -04:00
Plane: fixed a warning
This commit is contained in:
parent
1583d18b20
commit
57e7be0502
@ -151,7 +151,7 @@ bool QuadPlane::tailsitter_transition_fw_complete(void)
|
||||
}
|
||||
if (labs(ahrs_view->pitch_sensor) > tailsitter.transition_angle*100 ||
|
||||
roll_cd > tailsitter.transition_angle*100 ||
|
||||
AP_HAL::millis() - transition_start_ms > transition_time_ms) {
|
||||
AP_HAL::millis() - transition_start_ms > uint32_t(transition_time_ms)) {
|
||||
return true;
|
||||
}
|
||||
// still waiting
|
||||
|
Loading…
Reference in New Issue
Block a user