*
* 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
#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)
#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