altos: Switch all tick variables to AO_TICK_TYPE/AO_TICK_SIGNED
[fw/altos] / src / telebt-v4.0 / ao_pins.h
index baf3db69852c83802fb5acd10670a2077853b67a..ce2d949f34d9702995825edc2253213e7070b080 100644 (file)
@@ -40,7 +40,6 @@
 #define AO_PA11_PA12_RMP       0
 
 #define IS_FLASH_LOADER        0
-#define HAS_TASK_QUEUE         1
 
 /*
  * Serial ports
@@ -54,7 +53,7 @@
 #define USE_SERIAL_2_STDIN     1
 #define DELAY_SERIAL_2_STDIN   1
 #define USE_SERIAL_2_FLOW      1
-#define USE_SERIAL_2_SW_FLOW   1
+#define USE_SERIAL_2_SW_FLOW   0
 #define SERIAL_2_PA2_PA3       1
 #define SERIAL_2_PD5_PD6       0
 #define SERIAL_2_PORT_RTS      (&stm_gpioa)
@@ -75,7 +74,6 @@
 #define HAS_APRS               0
 #define HAS_ACCEL              0
 #define HAS_AES                        0
-#define HAS_POLLCHAR           1
 
 #define HAS_SPI_1              1
 #define SPI_1_PA5_PA6_PA7      1       /* CC1200 */
@@ -132,7 +130,7 @@ struct ao_adc {
 };
 
 #define AO_ADC_DUMP(p) \
-       printf("tick: %5u batt %5d\n", \
+       printf("tick: %5lu batt %5d\n", \
               (p)->tick, \
               (p)->adc.v_batt);
 
@@ -273,7 +271,6 @@ struct ao_adc {
 #define AO_CC1200_SPI_CS_PIN   11
 #define AO_CC1200_SPI_BUS      AO_SPI_1_PA5_PA6_PA7
 #define AO_CC1200_SPI          stm_spi1
-#define AO_CC1200_SPI_SPEED    AO_SPI_SPEED_6MHz
 
 #define AO_CC1200_INT_PORT             (&stm_gpiob)
 #define AO_CC1200_INT_PIN              (10)