mirror of https://github.com/ArduPilot/ardupilot
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:
parent
a55d6a63fc
commit
c7deedd785
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue