altos: Expose telemetry altitude macros even without GPS
authorKeith Packard <keithp@keithp.com>
Tue, 7 Oct 2014 03:35:10 +0000 (05:35 +0200)
committerKeith Packard <keithp@keithp.com>
Sat, 25 Oct 2014 04:24:53 +0000 (21:24 -0700)
This allows for APRS testing in the new teledongle code

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_telemetry.h

index 83d432cf95f39db62dc9f602d8011c58a46f49ae..340c388ef18954b0d7d6e5c6f8fb948d13966902 100644 (file)
@@ -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 {