Subversion Repositories NaviCtrl

Rev

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

Rev 494 Rev 495
Line 4... Line 4...
4
#define UART_FLIGHTCTRL 0
4
#define UART_FLIGHTCTRL 0
5
#define UART_MK3MAG     1
5
#define UART_MK3MAG     1
6
#define UART_MKGPS      2
6
#define UART_MKGPS      2
Line 7... Line 7...
7
 
7
 
-
 
8
#include "ubx.h"
Line 8... Line 9...
8
#include "ubx.h"
9
#include "waypoints.h"
9
 
10
 
10
#define NC_ERROR0_SPI_RX                                0x01
11
#define NC_ERROR0_SPI_RX                                0x01
11
#define NC_ERROR0_COMPASS_RX                    0x02
12
#define NC_ERROR0_COMPASS_RX                    0x02
Line 85... Line 86...
85
        s16 Nick;
86
        s16 Nick;
86
        s16 Roll;
87
        s16 Roll;
87
        s16 Compass;                                    // angle between north and head of the MK
88
        s16 Compass;                                    // angle between north and head of the MK
88
} __attribute__((packed)) Attitude_t;
89
} __attribute__((packed)) Attitude_t;
Line 89... Line -...
89
 
-
 
90
#define WPL_STORE_TYPE_REL 0
-
 
91
#define WPL_STORE_TYPE_ABS 1
-
 
92
typedef struct
-
 
93
{
-
 
94
   u8 Index;
-
 
95
   u8 Type;
-
 
96
   u8 reserved[8];
-
 
97
   s8 Name[12];
-
 
Line 98... Line 90...
98
} __attribute__((packed)) WPL_Store_t;
90
 
99
 
91
 
100
typedef struct
92
typedef struct
101
{
93
{
Line 164... Line 156...
164
void UART1_PutString(u8 *s);
156
void UART1_PutString(u8 *s);
165
extern u8 text[]; // globally used text buffer
157
extern u8 text[]; // globally used text buffer
166
extern u8 UART1_Request_SendFollowMe;
158
extern u8 UART1_Request_SendFollowMe;
167
extern u8 LastTransmittedFCStatusFlags2;
159
extern u8 LastTransmittedFCStatusFlags2;
Line -... Line 160...
-
 
160
 
-
 
161
extern WPL_Store_t WPL_Store;
168
 
162
 
Line 169... Line 163...
169
extern u32 NMEA_Interval;// in ms
163
extern u32 NMEA_Interval;// in ms