altos: Expose telemetry altitude macros even without GPS
[fw/altos] / 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 {