mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Relocated used code from board.h into appropriate headers, deleted
unused code.
This commit is contained in:
parent
3ef05c0eb9
commit
64d16e1987
15 changed files with 102 additions and 95 deletions
|
@ -1,5 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
typedef enum {
|
||||
SENSOR_GYRO = 1 << 0, // always present
|
||||
SENSOR_ACC = 1 << 1,
|
||||
SENSOR_BARO = 1 << 2,
|
||||
SENSOR_MAG = 1 << 3,
|
||||
SENSOR_SONAR = 1 << 4,
|
||||
SENSOR_GPS = 1 << 5,
|
||||
SENSOR_GPSMAG = 1 << 6,
|
||||
} AvailableSensors;
|
||||
|
||||
typedef enum {
|
||||
ALIGN_DEFAULT = 0, // driver-provided alignment
|
||||
CW0_DEG = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue