Rev 234 | Rev 242 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 234 | Rev 241 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _MAIN_H |
1 | #ifndef _MAIN_H |
2 | #define _MAIN_H |
2 | #define _MAIN_H |
Line 3... | Line 3... | ||
3 | 3 | ||
4 | #define VERSION_MAJOR 0 |
4 | #define VERSION_MAJOR 0 |
5 | #define VERSION_MINOR 20 |
5 | #define VERSION_MINOR 21 |
Line 6... | Line 6... | ||
6 | #define VERSION_PATCH 2 |
6 | #define VERSION_PATCH 0 |
7 | 7 | ||
Line 8... | Line 8... | ||
8 | #define VERSION_SERIAL_MAJOR 11 |
8 | #define VERSION_SERIAL_MAJOR 11 |
9 | #define VERSION_SERIAL_MINOR 0 |
9 | #define VERSION_SERIAL_MINOR 0 |
10 | 10 | ||
11 | #define FC_SPI_COMPATIBLE 14 |
11 | #define FC_SPI_COMPATIBLE 14 |
12 | #define MK3MAG_I2C_COMPATIBLE 3 |
12 | #define MK3MAG_I2C_COMPATIBLE 3 |
13 | 13 | ||
14 | // FC FLAGS |
14 | // FC FLAGS |
15 | #define FCFLAG_MOTOR_RUN 0x01 |
15 | #define FCFLAG_MOTOR_RUN 0x01 |
Line 93... | Line 93... | ||
93 | } __attribute__((packed)) FC_t; |
93 | } __attribute__((packed)) FC_t; |
Line 94... | Line 94... | ||
94 | 94 | ||
95 | extern Param_t Parameter; |
95 | extern Param_t Parameter; |
96 | extern volatile FC_t FC; |
96 | extern volatile FC_t FC; |
97 | extern s8 ErrorMSG[25]; |
97 | extern s8 ErrorMSG[25]; |
98 | extern u8 ErrorCode; |
98 | extern u8 ErrorCode; |
99 | extern u8 StopNavigation; |
99 | extern u8 StopNavigation; |