mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Remove sensor_acceleration.c's dependency on mw.h/board.h.
In doing so accelerometer sensor and trim code had to be cleaned. Added a new method to buzzer.c to avoid exposing toggleBeep. Renamed current_profile to current_profile_index to avoid confusion.
This commit is contained in:
parent
1092fa5b40
commit
fbfb75b24a
15 changed files with 293 additions and 190 deletions
|
@ -16,6 +16,5 @@ extern acc_t acc;
|
|||
extern uint16_t calibratingA;
|
||||
|
||||
void accSetCalibrationCycles(uint16_t calibrationCyclesRequired);
|
||||
void accCommon(void);
|
||||
void accGetADC(void);
|
||||
|
||||
void updateAccelerationReadings(rollAndPitchTrims_t *rollAndPitchTrims);
|
||||
void setAccelerationTrims(int16_flightDynamicsTrims_t *accelerationTrimsToUse);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue