AP_Common: pack the RallyLocation structure

so it can be written as a single binary block
This commit is contained in:
Andrew Tridgell 2013-10-03 12:20:10 +10:00
parent 497c95de8e
commit 86b58314c4

View File

@ -97,7 +97,7 @@ struct Location {
int32_t lng; ///< param 4 - Longitude * 10**7
};
struct RallyLocation {
struct PACKED RallyLocation {
int32_t lat; //Latitude * 10^7
int32_t lng; //Longitude * 10^7
int16_t alt; //transit altitude (and loiter altitude) in meters;