Subversion Repositories NaviCtrl

Rev

Rev 206 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 206 Rev 207
Line 1... Line 1...
1
#ifndef _MAIN_H
1
#ifndef _MAIN_H
2
#define _MAIN_H
2
#define _MAIN_H
Line 3... Line -...
3
 
-
 
4
 
3
 
5
#define VERSION_MAJOR   0
4
#define VERSION_MAJOR   0
6
#define VERSION_MINOR   18
5
#define VERSION_MINOR   18
Line 7... Line 6...
7
#define VERSION_PATCH   0
6
#define VERSION_PATCH   2
8
 
7
 
Line 9... Line 8...
9
#define VERSION_SERIAL_MAJOR    11
8
#define VERSION_SERIAL_MAJOR    11
Line 79... Line 78...
79
        s8 StickNick;
78
        s8 StickNick;
80
        s8 StickRoll;
79
        s8 StickRoll;
81
        s8 StickYaw;
80
        s8 StickYaw;
82
        s8 StickGas;
81
        s8 StickGas;
83
        u8 Poti[8];
82
        u8 Poti[8];
-
 
83
        u8 Poti5;
-
 
84
        u8 Poti6;
-
 
85
        u8 Poti7;
-
 
86
        u8 Poti8;
84
        u8 RC_Quality;
87
        u8 RC_Quality;
85
        u8 RC_RSSI;
88
        u8 RC_RSSI;
86
        u8 BAT_Voltage;
89
        u8 BAT_Voltage;
87
        u16 BAT_Current;
90
        u16 BAT_Current;
88
        u16 BAT_UsedCapacity;
91
        u16 BAT_UsedCapacity;
89
        u8 Flags;
92
        u8 Flags;
90
} __attribute__((packed)) FC_t;
93
} __attribute__((packed)) FC_t;
Line 91... Line -...
91
 
-
 
92
 
94
 
93
extern Param_t Parameter;
95
extern Param_t Parameter;
94
extern volatile FC_t FC;
96
extern volatile FC_t FC;
95
extern s8 ErrorMSG[25];
97
extern s8 ErrorMSG[25];
96
extern u32 ErrorCode;
98
extern u32 ErrorCode;