AP_AHRS: avoid ifdef for AP_MODULE_SUPPORTED

This commit is contained in:
Andrew Tridgell 2016-07-14 11:39:30 +10:00
parent 5ce472ab8a
commit e82468a529

View File

@ -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)