AP_InertialSensor: BMI160: Remove linux-only restriction

This commit is contained in:
Scott Parlane 2021-08-11 21:46:30 +12:00 committed by Andrew Tridgell
parent 400cf31df1
commit 6554c535a1
2 changed files with 2 additions and 10 deletions

View File

@ -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
}

View File

@ -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
};