Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak committed Jun 2, 2024
1 parent 0ec35a6 commit c9af7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/fw_pos_control/FixedwingPositionControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ FixedwingPositionControl::rpm_poll()

if (_rpm_sub.update(&_rpm)) {
_rpm_sub.copy(&_rpm);
if(_rpm._is_valid){
if(_rpm.is_valid){
_rpm_frequency = _rpm.indicated_frequency_rpm;
}
}
Expand Down

0 comments on commit c9af7bb

Please sign in to comment.