Subversion Repositories FlightCtrl

Rev

Rev 724 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 724 Rev 726
Line 1... Line 1...
1
#ifndef _UBX_H
1
#ifndef _UBX_H
2
#define _UBX_H
2
#define _UBX_H
Line -... Line 3...
-
 
3
 
-
 
4
#include <inttypes.h>
3
 
5
 
4
#define INVALID    0x00
6
#define INVALID    0x00
5
#define VALID      0x01
7
#define VALID      0x01
Line 37... Line 39...
37
} GPS_INFO_t;
39
} GPS_INFO_t;
Line 38... Line 40...
38
 
40
 
39
//here you will find the current gps info
41
//here you will find the current gps info
Line -... Line 42...
-
 
42
extern GPS_INFO_t GPSInfo;      // measured position (last gps record)
-
 
43
 
-
 
44
// this variable should be decremted by the application
40
extern GPS_INFO_t GPSInfo;      // measured position (last gps record)
45
extern volatile uint8_t GPSTimeout; // is reset to 255 if a new UBX msg was received
41
 
46
 
Line 42... Line 47...
42
// initialized the upx parser
47
// initialized the upx parser
43
extern void ubx_init(void);
48
extern void ubx_init(void);