altos/stm32f4: Fix clock configuration
[fw/altos] / src / telelcotwo-v0.1 / ao_pins.h
index ce797a388e1521cac35397d9541f3d0c59371d3c..1941e03d7468c2aa9ea5f032be97ea2ba3c9f5b9 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
@@ -90,6 +91,7 @@
 #define AO_CC1200_SPI_CS_PIN   7
 #define AO_CC1200_SPI_BUS      AO_SPI_2_PB13_PB14_PB15
 #define AO_CC1200_SPI          stm_spi2
+#define AO_CC1200_SPI_SPEED    AO_SPI_SPEED_FAST
 
 #define AO_CC1200_INT_PORT             (&stm_gpiob)
 #define AO_CC1200_INT_PIN              (11)
                                 AO_LED_CONTINUITY_0 |  \
                                 AO_LED_REMOTE_ARM)
 
+#define AO_LCO_DRAG            0
+
 /*
  * Use event queue for input devices
  */
 #define AO_BUTTON_0_PORT       &stm_gpioa
 #define AO_BUTTON_0            0
 
-#define AO_BUTTON_ARM_0                0
+#define AO_BUTTON_BOX          0
 
 #define AO_BUTTON_1_PORT       &stm_gpioa
 #define AO_BUTTON_1            1
 
-#define AO_BUTTON_ARM_1                1
-
-#define AO_BUTTON_ARM_NUM      2
+#define AO_BUTTON_ARM          1
 
 #define AO_BUTTON_2_PORT       &stm_gpioa
 #define AO_BUTTON_2            2