Copter: stop passing unused inav into autorotate library

This commit is contained in:
Peter Barker 2020-10-01 16:35:10 +10:00 committed by Peter Barker
parent 4bbf623cac
commit 56790625b8

View File

@ -1021,7 +1021,7 @@ ParametersG2::ParametersG2(void)
,mode_systemid_ptr(&copter.mode_systemid)
#endif
#if MODE_AUTOROTATE_ENABLED == ENABLED
,arot(copter.inertial_nav)
,arot()
#endif
,button_ptr(&copter.button)
#if MODE_ZIGZAG_ENABLED == ENABLED