From 86b58314c4eee6b8a96bffc5b5a459220d8a1793 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 3 Oct 2013 12:20:10 +1000 Subject: [PATCH] AP_Common: pack the RallyLocation structure so it can be written as a single binary block --- libraries/AP_Common/AP_Common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Common/AP_Common.h b/libraries/AP_Common/AP_Common.h index 6cfeebeedb..6438e3b56d 100644 --- a/libraries/AP_Common/AP_Common.h +++ b/libraries/AP_Common/AP_Common.h @@ -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;