Skip to content

Commit 2a38ab9

Browse files
committed
AP_TECS: CentiDegreesToRadians to cd_to_rad
1 parent 509823c commit 2a38ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/AP_TECS/AP_TECS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ void AP_TECS::_update_pitch_limits(const int32_t ptchMinCO_cd) {
15401540
if (_flight_stage == AP_FixedWing::FlightStage::TAKEOFF
15411541
|| _flight_stage == AP_FixedWing::FlightStage::ABORT_LANDING)
15421542
{
1543-
_PITCHminf = CentiDegreesToRadians(ptchMinCO_cd);
1543+
_PITCHminf = cd_to_rad(ptchMinCO_cd);
15441544
}
15451545

15461546
// Apply external limits.

0 commit comments

Comments
 (0)