From c7deedd78502867508f07256b25a7485115da4ab Mon Sep 17 00:00:00 2001 From: "deweibel@gmail.com" Date: Wed, 23 Mar 2011 03:29:46 +0000 Subject: [PATCH] Change waypoint/command storage to include options byte. git-svn-id: https://arducopter.googlecode.com/svn/trunk@1809 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/AP_Common/AP_Common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Common/AP_Common.h b/libraries/AP_Common/AP_Common.h index b93c862eb1..43a6de133f 100644 --- a/libraries/AP_Common/AP_Common.h +++ b/libraries/AP_Common/AP_Common.h @@ -140,6 +140,7 @@ static inline size_t strlcat_P(char *buffer, const prog_char_t *pstr, size_t buf struct Location { uint8_t id; ///< command id + uint8_t options; ///< options bitmask (1<<0 = relative altitude) uint8_t p1; ///< param 1 int32_t alt; ///< param 2 - Altitude in centimeters (meters * 100) int32_t lat; ///< param 3 - Lattitude * 10**7