Skip to content

Commit

Permalink
AP_Motors: fix heli yaw behavior in autorotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferruccio1984 authored and bnsgeyer committed Apr 18, 2024
1 parent 0bdf073 commit 1c10455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Motors/AP_MotorsHeli_RSC.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class AP_MotorsHeli_RSC {
uint32_t get_output_mask() const;

// rotor_speed_above_critical - return true if rotor speed is above that critical for flight
bool rotor_speed_above_critical(void) const { return get_rotor_speed() > get_critical_speed(); }
bool rotor_speed_above_critical(void) const { return get_rotor_speed() >= get_critical_speed(); }

// var_info for holding Parameter information
static const struct AP_Param::GroupInfo var_info[];
Expand Down

0 comments on commit 1c10455

Please sign in to comment.