1,5 → 1,5 |
/**************************************************************************** |
* Copyright (C) 2009-2016 by Claas Anders "CaScAdE" Rathje * |
* Copyright (C) 2009-2017 by Claas Anders "CaScAdE" Rathje * |
* admiralcascade@gmail.com * |
* Project-URL: http://www.mylifesucks.de/oss/c-osd/ * |
* * |
85,7 → 85,7 |
/* |
* NaviCtrl OSD Structs |
* portions taken and adapted from |
* http://svn.mikrokopter.de/filedetails.php?repname=NaviCtrl&path=/tags/V2.16a/uart1.h |
* http://svn.mikrokopter.de/filedetails.php?repname=NaviCtrl&path=/tags/V2.18a/uart1.h |
*/ |
typedef struct { |
u16 Distance; // distance to target in dm |
92,8 → 92,13 |
s16 Bearing; // course to target in deg |
} __attribute__((packed)) GPS_PosDev_t; |
|
|
#define NAVIDATA_VERSION 5 |
|
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
//+ old protocol |
//+ start abbo communication with: 'O' + Interval [10ms] |
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
typedef struct // 84 Bytes (note: this is the old protocol) |
{ |
u8 Version; // version of the data structure = 5 |
129,7 → 134,6 |
u8 reserve1; // to fit into 84 bytes (must be divisible by 3) |
u8 reserve2; // to fit into 84 bytes (must be divisible by 3) |
} __attribute__((packed)) NaviData_t; |
extern NaviData_t NaviData; |
|
/* |
* NaviCtrl & FCFlags Flags |
199,7 → 203,7 |
* http://svn.mikrokopter.de/filedetails.php?repname=FlightCtrl&path=/tags/V2.16a/eeprom.h |
*/ |
|
#define EEPARAM_REVISION 109 // !!!Update NC also!!! is count up, if paramater stucture has changed (compatibility) |
#define EEPARAM_REVISION 110 // !!!Update NC also!!! is count up, if paramater stucture has changed (compatibility) |
#define EEMIXER_REVISION 1 // is count up, if mixer stucture has changed (compatibility) |
#define EE_BACKWARD_COMP 1 // change if the eepropm parameters are not backwards compatible |
|