AP_AccellCal: initialize HAL_INS_ACCELCAL_ENABLED for periph

This commit is contained in:
Tom Pittenger 2023-07-03 18:26:27 -07:00 committed by Tom Pittenger
parent d0b967097e
commit f27ad17ea0
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@
#ifndef HAL_INS_ACCELCAL_ENABLED #ifndef HAL_INS_ACCELCAL_ENABLED
#if HAL_GCS_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 #else
#define HAL_INS_ACCELCAL_ENABLED 0 #define HAL_INS_ACCELCAL_ENABLED 0
#endif #endif