summaryrefslogtreecommitdiff
path: root/ao-tools/lib
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-10 09:44:57 -0700
committerKeith Packard <keithp@keithp.com>2014-06-10 09:44:57 -0700
commitf6d633d73a8f826cf2a3128e3e234bd11af49718 (patch)
treefef44b5699ed56a0bb7b1ded32c8a3432a783b15 /ao-tools/lib
parentda9575fce5ff4dfe83522e290973a01c43e4661f (diff)
Revert "ao-tools: Parse TeleGPS state value from gps location packet"
This reverts commit 428d09294ba0395fedd71346ad00fd90a4cdde97.
Diffstat (limited to 'ao-tools/lib')
-rw-r--r--ao-tools/lib/cc-telemetry.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ao-tools/lib/cc-telemetry.h b/ao-tools/lib/cc-telemetry.h
index 35cca13b..d64c4b30 100644
--- a/ao-tools/lib/cc-telemetry.h
+++ b/ao-tools/lib/cc-telemetry.h
@@ -90,8 +90,6 @@ struct ao_telemetry_configuration {
#define AO_GPS_MODE_MANUAL 'M'
#define AO_GPS_MODE_SIMULATED 'S'
-#define AO_GPS_STATE_VALID 0x80
-
struct ao_telemetry_location {
uint16_t serial; /* 0 */
uint16_t tick; /* 2 */
@@ -114,7 +112,7 @@ struct ao_telemetry_location {
uint16_t ground_speed; /* 26 cm/s */
int16_t climb_rate; /* 28 cm/s */
uint8_t course; /* 30 degrees / 2 */
- uint8_t state; /* 31 */
+ uint8_t unused[1]; /* 31 */
/* 32 */
};