mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Moved sensor detection into respective sensor modules
This commit is contained in:
parent
4bee6193e8
commit
4bb6820c42
10 changed files with 535 additions and 508 deletions
|
@ -61,6 +61,7 @@ typedef struct accelerometerConfig_s {
|
|||
flightDynamicsTrims_t accZero;
|
||||
} accelerometerConfig_t;
|
||||
|
||||
bool accDetect(accDev_t *dev, accelerationSensor_e accHardwareToUse);
|
||||
void accInit(uint32_t gyroTargetLooptime);
|
||||
bool isAccelerationCalibrationComplete(void);
|
||||
void accSetCalibrationCycles(uint16_t calibrationCyclesRequired);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue