altos: Oops. Was only filling out part of the TeleMetrum ADC record
[fw/altos] / src / telemega-v0.3 / ao_pins.h
index 88b473cc9f2f495f30f2ccc7ad59164edba537cb..7ff676ea624ef143997c44b2ddf4602365d99964 100644 (file)
 #define ao_gps_set_speed       ao_serial3_set_speed
 #define ao_gps_fifo            (ao_stm_usart3.rx_fifo)
 
+#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX       (1024 * 1024)
 #define HAS_EEPROM             1
 #define USE_INTERNAL_FLASH     0
+#define USE_EEPROM_CONFIG      1
+#define USE_STORAGE_CONFIG     0
 #define HAS_USB                        1
 #define HAS_BEEP               1
 #define HAS_RADIO              1
 #define HAS_IGNITE             1
 #define HAS_IGNITE_REPORT      1
 
+#define AO_SENSE_PYRO(p,n)     ((p)->adc.sense[n])
 #define AO_SENSE_DROGUE(p)     ((p)->adc.sense[4])
 #define AO_SENSE_MAIN(p)       ((p)->adc.sense[5])
 #define AO_IGNITER_CLOSED      400
@@ -308,7 +312,7 @@ struct ao_adc {
  * mpu6000
  */
 
-#define HAS_MPU6000            1       
+#define HAS_MPU6000            1
 #define AO_MPU6000_INT_PORT    (&stm_gpioe)
 #define AO_MPU6000_INT_PIN     0
 #define AO_MPU6000_SPI_BUS     AO_SPI_1_PE13_PE14_PE15