mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_InertialSensor: rename HAL_INS_ENABLED to AP_INERTIALSENSOR_ENABLED
This commit is contained in:
parent
1725e794ed
commit
ee98d75173
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include <AP_Common/AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#if HAL_INS_ENABLED
|
#if AP_INERTIALSENSOR_ENABLED
|
||||||
#include <AP_HAL/I2CDevice.h>
|
#include <AP_HAL/I2CDevice.h>
|
||||||
#include <AP_HAL/SPIDevice.h>
|
#include <AP_HAL/SPIDevice.h>
|
||||||
#include <AP_HAL/DSP.h>
|
#include <AP_HAL/DSP.h>
|
||||||
@ -2516,5 +2516,4 @@ AP_InertialSensor &ins()
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //#if HAL_INS_ENABLED
|
#endif // AP_INERTIALSENSOR_ENABLED
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "AP_InertialSensor.h"
|
#include "AP_InertialSensor.h"
|
||||||
|
|
||||||
#if HAL_INS_ENABLED
|
#if AP_INERTIALSENSOR_ENABLED
|
||||||
#include <GCS_MAVLink/GCS.h>
|
#include <GCS_MAVLink/GCS.h>
|
||||||
#include <AP_Logger/AP_Logger.h>
|
#include <AP_Logger/AP_Logger.h>
|
||||||
|
|
||||||
@ -282,4 +282,4 @@ void AP_InertialSensor::BatchSampler::sample(uint8_t _instance, AP_InertialSenso
|
|||||||
data_write_offset++; // may unblock the reading process
|
data_write_offset++; // may unblock the reading process
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif //#if HAL_INS_ENABLED
|
#endif //#if AP_INERTIALSENSOR_ENABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user