Subversion Repositories NaviCtrl

Compare Revisions

Ignore whitespace Rev 767 → Rev 768

/trunk/uart1.h
142,9 → 142,9
 
#define NAVIDATA_VERSION 5
 
typedef struct // 85 Bytes
typedef struct // 84 Bytes
{
u8 Version; // version of the data structure
u8 Version; // version of the data structure = 5
GPS_Pos_t CurrentPosition; // see gpspos.h for details
GPS_Pos_t TargetPosition;
GPS_PosDev_t TargetPositionDeviation;
174,6 → 174,8
u8 Gas; // for future use
u16 Current; // actual current in 0.1A steps
u16 UsedCapacity; // used capacity in mAh
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;
 
223,7 → 225,6
s32 TargetLatitude; //
s16 TargetAltitude; // hight according to air pressure
u8 RC_Quality; // RC_Quality
u8 reserve;
} __attribute__((packed)) NaviData_Target_t;
extern NaviData_Target_t NaviData_Target;