mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 01:35:35 +03:00
Ported some I2C code from AQ32PlusF3 which itself looked ported from the
STM32 examples.
This commit is contained in:
parent
8d9ce86a5a
commit
4febeb3969
12 changed files with 883 additions and 20 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue