Skip to content

Commit

Permalink
AP_Periph: instantiate AP_AHRS even if not in SITL
Browse files Browse the repository at this point in the history
Closes potential problem with HerePro if it calls AP_AHRS methods
  • Loading branch information
peterbarker authored and tridge committed Oct 4, 2023
1 parent fe99328 commit 748dd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/AP_Periph/AP_Periph.h
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,10 @@ class AP_Periph_FW {

#if AP_SIM_ENABLED
SITL::SIM sitl;
#endif
#if AP_AHRS_ENABLED
AP_AHRS ahrs;
#endif
#endif
};

#ifndef CAN_APP_NODE_NAME
Expand Down

0 comments on commit 748dd22

Please sign in to comment.