altos/telemega-v1.0: Add fakeflight support
[fw/altos] / src / telemega-v1.0 / ao_pins.h
index b81e59a9a340bb309c88a66a41f09a56d36a554f..e12df20901013ce35a4984ca6d8d75df990bba96 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -80,6 +81,7 @@
 #define HAS_TELEMETRY          1
 #define HAS_APRS               1
 #define HAS_COMPANION          1
+#define HAS_FAKE_FLIGHT                1
 
 #define HAS_SPI_1              1
 #define SPI_1_PA5_PA6_PA7      1       /* Barometer */
@@ -307,7 +309,6 @@ struct ao_adc {
 #define AO_CC1120_SPI_CS_PORT  (&stm_gpioc)
 #define AO_CC1120_SPI_CS_PIN   5
 #define AO_CC1120_SPI_BUS      AO_SPI_2_PB13_PB14_PB15
-#define AO_CC1120_SPI          stm_spi2
 
 #define AO_CC1120_INT_PORT             (&stm_gpioe)
 #define AO_CC1120_INT_PIN              1