Skip to content

Commit

Permalink
Copter: Pass motors ptr to autorotation object
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKear committed Jan 4, 2024
1 parent f3aaac9 commit 3e4b5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduCopter/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ ParametersG2::ParametersG2(void)
,mode_systemid_ptr(&copter.mode_systemid)
#endif
#if MODE_AUTOROTATE_ENABLED == ENABLED
,arot(copter.inertial_nav, copter.ahrs)
,arot(copter.inertial_nav, copter.ahrs, copter.motors)
#endif
#if HAL_BUTTON_ENABLED
,button_ptr(&copter.button)
Expand Down

0 comments on commit 3e4b5c2

Please sign in to comment.