Browse Source

AP_Compass: split AP_HAL_SITL and AP_SIM_ENABLED

apm_2208
Peter Barker 3 years ago committed by Peter Barker
parent
commit
57f8b7c2a8
  1. 2
      libraries/AP_Compass/AP_Compass.h

2
libraries/AP_Compass/AP_Compass.h

@ -71,7 +71,7 @@ @@ -71,7 +71,7 @@
#define MAX_CONNECTED_MAGS (COMPASS_MAX_UNREG_DEV+COMPASS_MAX_INSTANCES)
#ifndef AP_SIM_COMPASS_ENABLED
#define AP_SIM_COMPASS_ENABLED (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
#define AP_SIM_COMPASS_ENABLED AP_SIM_ENABLED
#endif
#include "CompassCalibrator.h"

Loading…
Cancel
Save