Rev 253 | Rev 261 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 253 | Rev 254 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef __NCMAG_H |
1 | #ifndef __NCMAG_H |
2 | #define __NCMAG_H |
2 | #define __NCMAG_H |
Line 3... | Line 3... | ||
3 | 3 | ||
Line 4... | Line -... | ||
4 | #include "compass.h" |
- | |
5 | - | ||
6 | typedef struct |
- | |
7 | { |
- | |
8 | s16 XRange; |
- | |
9 | s16 YRange; |
- | |
10 | s16 ZRange; |
- | |
11 | s16 XOffset; |
- | |
12 | s16 YOffset; |
- | |
13 | s16 ZOffset; |
- | |
14 | } __attribute__((packed)) NCMAG_Calibration_t; |
- | |
15 | 4 | #include "compass.h" |
|
Line 16... | Line 5... | ||
16 | extern NCMAG_Calibration_t NCMAG_Calibration; |
5 | |
17 | extern s16vec_t ACC_Vector; |
6 | extern s16vec_t ACC_Vector; |
18 | - | ||
Line 19... | Line 7... | ||
19 | u8 NCMAG_Init(void); |
7 |