Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1471 → Rev 1472

/trunk/libfc.a
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/spi.c
291,6 → 291,8
GPSInfo.Flags = FromNaviCtrl.Param.Byte[0];
GPSInfo.NumOfSats = FromNaviCtrl.Param.Byte[1];
GPSInfo.SatFix = FromNaviCtrl.Param.Byte[2];
GPSInfo.HomeDistance = FromNaviCtrl.Param.Int[2];
GPSInfo.HomeBearing = FromNaviCtrl.Param.sInt[3];
break;
 
default:
/trunk/spi.h
69,10 → 69,12
signed int GyroGier;
union
{
unsigned char Byte[12];
char sByte[12];
unsigned char Byte[12];
int Int[6];
long Long[3];
unsigned int Int[6];
int sInt[6];
unsigned long Long[3];
long sLong[3];
float Float[3];
} Param;
unsigned char Chksum;
93,10 → 95,12
unsigned int BeepTime;
union
{
unsigned char Byte[12];
char sByte[12];
unsigned char Byte[12];
int Int[6];
long Long[3];
unsigned int Int[6];
int sInt[6];
unsigned long Long[3];
long sLong[3];
float Float[3];
} Param;
unsigned char Chksum;
135,9 → 139,11
 
struct str_GPSInfo
{
uint8_t Flags; // Status Flags
uint8_t NumOfSats; // number of satelites
uint8_t SatFix; // type of satfix
unsigned char Flags; // Status Flags
unsigned char NumOfSats; // number of satelites
unsigned char SatFix; // type of satfix
unsigned int HomeDistance; // distance to Home in dm
int HomeBearing; // bearing to home in deg
};