mirror of https://github.com/ArduPilot/ardupilot
AP_AccellCal: initialize HAL_INS_ACCELCAL_ENABLED for periph
This commit is contained in:
parent
d0b967097e
commit
f27ad17ea0
|
@ -5,7 +5,8 @@
|
|||
|
||||
#ifndef HAL_INS_ACCELCAL_ENABLED
|
||||
#if HAL_GCS_ENABLED
|
||||
#define HAL_INS_ACCELCAL_ENABLED 1
|
||||
#include <AP_InertialSensor/AP_InertialSensor_config.h>
|
||||
#define HAL_INS_ACCELCAL_ENABLED AP_INERTIALSENSOR_ENABLED
|
||||
#else
|
||||
#define HAL_INS_ACCELCAL_ENABLED 0
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue