mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Plane: explicitly type cast pitch limit
This commit is contained in:
parent
90eacaeb88
commit
c2d6db13ec
@ -3015,7 +3015,7 @@ void QuadPlane::assign_tilt_to_fwd_thr(void) {
|
||||
nav_pitch_lower_limit_cd = - q_fwd_pitch_lim_cd;
|
||||
}
|
||||
|
||||
plane.nav_pitch_cd = MAX(plane.nav_pitch_cd, nav_pitch_lower_limit_cd);
|
||||
plane.nav_pitch_cd = MAX(plane.nav_pitch_cd, (int32_t)nav_pitch_lower_limit_cd);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user