Common: add location options masks

This commit is contained in:
Randy Mackay 2014-02-28 15:55:53 +09:00
parent cc8554fa2b
commit 9ef27955b5
1 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,8 @@
/// bit 7: Move to next Command 0: YES, 1: Loiter until commanded
//@{
#define LOCATION_MASK_OPTIONS_RELATIVE_ALT (1<<0) // 1 = Relative altitude
#define LOCATION_MASK_OPTIONS_LOITER_DIRECTION (1<<2) // 0 = CW, 1 = CCW
struct Location {
uint8_t id; ///< command id