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:
timecop@gmail.com 2013-09-19 11:26:30 +00:00
parent 14893afb32
commit ac3cee7788
1 changed files with 4 additions and 4 deletions

View File

@ -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