summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-10-07 05:35:10 +0200
committerKeith Packard <keithp@keithp.com>2014-10-24 21:24:53 -0700
commit7fea8b245cdccc1ec77aa559433952f339676473 (patch)
tree47db8b21ffa3f89b5e405509c6e16a1cc7138fb9 /src
parent484b530a16a54ca8fde412c3f466bfe7eed978cd (diff)
altos: Expose telemetry altitude macros even without GPS
This allows for APRS testing in the new teledongle code Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/kernel/ao_telemetry.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kernel/ao_telemetry.h b/src/kernel/ao_telemetry.h
index 83d432cf..340c388e 100644
--- a/src/kernel/ao_telemetry.h
+++ b/src/kernel/ao_telemetry.h
@@ -116,8 +116,6 @@ struct ao_telemetry_location {
/* 32 */
};
-#if HAS_GPS
-
#ifndef HAS_WIDE_GPS
#define HAS_WIDE_GPS 1
#endif
@@ -135,8 +133,6 @@ typedef int16_t gps_alt_t;
(l)->altitude_low = (a)))
#endif /* HAS_WIDE_GPS */
-#endif /* HAS_GPS */
-
#define AO_TELEMETRY_SATELLITE 0x06
struct ao_telemetry_satellite_info {