Change waypoint/command storage to include options byte.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1809 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
deweibel@gmail.com 2011-03-23 03:29:46 +00:00
parent a55d6a63fc
commit c7deedd785
1 changed files with 1 additions and 0 deletions

View File

@ -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