1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

Ported some I2C code from AQ32PlusF3 which itself looked ported from the

STM32 examples.
This commit is contained in:
Dominic Clifton 2014-04-28 19:18:57 +01:00
parent 8d9ce86a5a
commit 4febeb3969
12 changed files with 883 additions and 20 deletions

View file

@ -7,13 +7,15 @@ typedef enum AccelSensors {
ACC_MPU6050 = 2,
ACC_MMA8452 = 3,
ACC_BMA280 = 4,
ACC_FAKE = 5,
ACC_NONE = 6
ACC_LSM303DLHC = 5,
ACC_FAKE = 6,
ACC_NONE = 7
} AccelSensors;
extern uint8_t accHardware;
extern sensor_align_e accAlign;
extern acc_t acc;
extern uint16_t acc_1G;
bool isAccelerationCalibrationComplete(void);
void accSetCalibrationCycles(uint16_t calibrationCyclesRequired);