mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Periph: instantiate AP_AHRS even if not in SITL
Closes potential problem with HerePro if it calls AP_AHRS methods
This commit is contained in:
parent
fe9932855b
commit
748dd22f4e
@ -475,10 +475,10 @@ public:
|
|||||||
|
|
||||||
#if AP_SIM_ENABLED
|
#if AP_SIM_ENABLED
|
||||||
SITL::SIM sitl;
|
SITL::SIM sitl;
|
||||||
|
#endif
|
||||||
#if AP_AHRS_ENABLED
|
#if AP_AHRS_ENABLED
|
||||||
AP_AHRS ahrs;
|
AP_AHRS ahrs;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef CAN_APP_NODE_NAME
|
#ifndef CAN_APP_NODE_NAME
|
||||||
|
Loading…
Reference in New Issue
Block a user