mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_InertialSensor: BMI160: Remove linux-only restriction
This commit is contained in:
parent
400cf31df1
commit
6554c535a1
@ -18,8 +18,6 @@
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
|
||||
#include <AP_HAL/utility/sparse-endian.h>
|
||||
#include <AP_HAL_Linux/GPIO.h>
|
||||
#include <AP_Math/AP_Math.h>
|
||||
@ -493,6 +491,4 @@ bool AP_InertialSensor_BMI160::_init()
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
@ -18,8 +18,6 @@
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
|
||||
#include "AP_InertialSensor.h"
|
||||
#include "AP_InertialSensor_Backend.h"
|
||||
|
||||
@ -114,6 +112,4 @@ private:
|
||||
float _gyro_scale;
|
||||
|
||||
AP_HAL::DigitalSource *_int1_pin;
|
||||
};
|
||||
|
||||
#endif
|
||||
};
|
Loading…
Reference in New Issue
Block a user