altos: Use 32-bits for flight state data (alt/speed/accel)
[fw/altos] / src / kernel / ao_data.h
index c4b062fdb1d0f9f4631354ada9b2baa30df9910a..8f75ad876b612e3cc1480e1fc9aa9fc8024908bd 100644 (file)
@@ -117,9 +117,7 @@ extern volatile __data uint8_t              ao_data_count;
 
 typedef int32_t        pres_t;
 
-#ifndef AO_ALT_TYPE
 #define AO_ALT_TYPE    int32_t
-#endif
 
 typedef AO_ALT_TYPE    alt_t;
 
@@ -146,10 +144,6 @@ typedef int16_t alt_t;
 
 #endif
 
-#if !HAS_BARO
-typedef int16_t alt_t;
-#endif
-
 /*
  * Need a few macros to pull data from the sensors:
  *