Merge remote-tracking branch 'origin/master' into micropeak-logging
[fw/altos] / src / megametrum-v0.1 / ao_pins.h
index ab4cf7dfbec6fe3934023120a876035e2cb7beb8..64da41a915304f618b6aa0547969701d0dcd2b55 100644 (file)
@@ -67,7 +67,7 @@
 #define HAS_EEPROM             1
 #define USE_INTERNAL_FLASH     0
 #define HAS_USB                        1
-#define HAS_BEEP               0
+#define HAS_BEEP               1
 #define HAS_RADIO              1
 #define HAS_TELEMETRY          1
 #define HAS_APRS               1
@@ -281,6 +281,7 @@ 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_gpioc)
 #define AO_CC1120_INT_PIN              14