AP_AHRS: avoid ifdef for AP_MODULE_SUPPORTED
This commit is contained in:
parent
5ce472ab8a
commit
e82468a529
@ -93,10 +93,8 @@ void AP_AHRS_NavEKF::update(void)
|
||||
update_SITL();
|
||||
#endif
|
||||
|
||||
#if AP_MODULE_SUPPORTED
|
||||
// call AHRS_update hook if any
|
||||
AP_Module::call_hook_AHRS_update(*this);
|
||||
#endif
|
||||
}
|
||||
|
||||
void AP_AHRS_NavEKF::update_DCM(void)
|
||||
|
Loading…
Reference in New Issue
Block a user