mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Remove sensor_initialisation.c's dependency on mw.h/board.h.
Extracted sensor alignment variables to sensorAlignmentConfig This commit marks the end of the sensor dependency cleanup.
This commit is contained in:
parent
e963496263
commit
9d56b4a00f
6 changed files with 80 additions and 38 deletions
|
@ -26,4 +26,10 @@ typedef enum {
|
|||
CW270_DEG_FLIP = 8
|
||||
} sensor_align_e;
|
||||
|
||||
typedef struct sensorAlignmentConfig_s {
|
||||
sensor_align_e gyro_align; // gyro alignment
|
||||
sensor_align_e acc_align; // acc alignment
|
||||
sensor_align_e mag_align; // mag alignment
|
||||
} sensorAlignmentConfig_t;
|
||||
|
||||
extern int16_t heading;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue