oops, this should be a bitfield
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@404 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
14893afb32
commit
ac3cee7788
|
@ -99,10 +99,10 @@ typedef enum {
|
|||
} sensor_align_e;
|
||||
|
||||
enum {
|
||||
GYRO_UPDATED = 0,
|
||||
ACC_UPDATED,
|
||||
MAG_UPDATED,
|
||||
TEMP_UPDATED
|
||||
GYRO_UPDATED = 1 << 0,
|
||||
ACC_UPDATED = 1 << 1,
|
||||
MAG_UPDATED = 1 << 2,
|
||||
TEMP_UPDATED = 1 << 3
|
||||
};
|
||||
|
||||
typedef struct sensor_data_t
|
||||
|
|
Loading…
Reference in New Issue