altos/stm32f4: Fix clock configuration
[fw/altos] / src / telegps-v0.3 / ao_pins.h
index ae401ed44784464a333b7eb93657ececbecc9411..873474bbab3ac074a8aefd4389c2a1139c54cbfc 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
 #define HAS_LOG                        1
 #define HAS_TRACKER            1
 
-#define AO_CONFIG_DEFAULT_APRS_INTERVAL        5
+#define AO_CONFIG_DEFAULT_APRS_INTERVAL                0
 #define AO_CONFIG_DEFAULT_RADIO_POWER          0xc0
+#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX       496 * 1024
+#define AO_LOG_FORMAT                          AO_LOG_FORMAT_TELEGPS
 
 /*
  * GPS
 
 /* gets pretty close to 434.550 */
 
-#define AO_RADIO_CAL_DEFAULT   0x10b6a5
+#define AO_RADIO_CAL_DEFAULT   1095378
 
 #define HAS_RADIO_POWER                0
 #define AO_FEC_DEBUG           0
 #define AO_CC115L_SPI_CS_PORT  0
 #define AO_CC115L_SPI_CS_PIN   3
 #define AO_CC115L_SPI_BUS      0
+#define AO_CC115L_SPI_SPEED    AO_SPI_SPEED_6MHz
 
 #define AO_CC115L_FIFO_INT_GPIO_IOCFG  CC115L_IOCFG2
 #define AO_CC115L_FIFO_INT_PORT                0