mirror of https://github.com/ArduPilot/ardupilot
AP_AHRS: fixed AP_MODULE_SUPPORTED
This commit is contained in:
parent
d5be04dc8f
commit
55358459c7
|
@ -106,8 +106,10 @@ void AP_AHRS_NavEKF::update(bool skip_ins_update)
|
|||
update_EKF2();
|
||||
}
|
||||
|
||||
#if AP_MODULE_SUPPORTED
|
||||
// call AHRS_update hook if any
|
||||
AP_Module::call_hook_AHRS_update(*this);
|
||||
#endif
|
||||
|
||||
// push gyros if optical flow present
|
||||
if (hal.opticalflow) {
|
||||
|
|
Loading…
Reference in New Issue