mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -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
|
||||
SITL::SIM sitl;
|
||||
#endif
|
||||
#if AP_AHRS_ENABLED
|
||||
AP_AHRS ahrs;
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifndef CAN_APP_NODE_NAME
|
||||
|
Loading…
Reference in New Issue
Block a user