Rev 292 | Rev 338 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 292 | Rev 330 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | } __attribute__((packed)) s16vec_t; |
9 | } __attribute__((packed)) s16vec_t; |
Line 10... | Line 10... | ||
10 | 10 | ||
11 | extern volatile s16vec_t MagVector; // current magnetic field vector |
11 | extern volatile s16vec_t MagVector; // current magnetic field vector |
12 | extern volatile s16 Compass_Heading; // current heading direction |
12 | extern volatile s16 Compass_Heading; // current heading direction |
- | 13 | extern volatile u8 Compass_CalState; // current calibration state |
|
- | 14 | extern s32 EarthMagneticField; |
|
- | 15 | extern s32 EarthMagneticInclination; |
|
- | 16 | extern s32 EarthMagneticFieldFiltered; |
|
- | 17 | extern u8 ErrorDisturbedEarthMagnetField; |
|
Line 13... | Line 18... | ||
13 | extern volatile u8 Compass_CalState; // current calibration state |
18 | extern s16 Hx, Hy; |
14 | 19 | ||
15 | #define COMPASS_NONE 0 |
20 | #define COMPASS_NONE 0 |
16 | #define COMPASS_MK3MAG 1 |
21 | #define COMPASS_MK3MAG 1 |