1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45: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

@ -18,6 +18,7 @@
acc_t acc; // acc access functions
uint8_t accHardware = ACC_DEFAULT; // which accel chip is used/detected
sensor_align_e accAlign = 0;
uint16_t acc_1G = 256; // this is the 1G measured acceleration.
uint16_t calibratingA = 0; // the calibration is done is the main loop. Calibrating decreases at each cycle down to 0, then we enter in a normal mode.