From: Keith Packard Date: Wed, 28 Aug 2013 04:00:29 +0000 (-0600) Subject: altos/telemetrum-v2.0: Use 9600 baud for ublox X-Git-Tag: 1.2.9.4~127 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=f222e8504bfd01027e3c380c239a2cde2c367d74;hp=abde595116f6e8b60ec9ce81554c05de11fd456e altos/telemetrum-v2.0: Use 9600 baud for ublox Something is up with the Max 7 Signed-off-by: Keith Packard --- diff --git a/src/telemetrum-v2.0/ao_pins.h b/src/telemetrum-v2.0/ao_pins.h index 1ca2ddde..04cce99e 100644 --- a/src/telemetrum-v2.0/ao_pins.h +++ b/src/telemetrum-v2.0/ao_pins.h @@ -59,11 +59,6 @@ #define SERIAL_3_PC10_PC11 0 #define SERIAL_3_PD8_PD9 0 -#define ao_gps_getchar ao_serial3_getchar -#define ao_gps_putchar ao_serial3_putchar -#define ao_gps_set_speed ao_serial3_set_speed -#define ao_gps_fifo (ao_stm_usart3.rx_fifo) - #define HAS_EEPROM 1 #define USE_INTERNAL_FLASH 0 #define HAS_USB 1 @@ -191,6 +186,17 @@ struct ao_adc { #define AO_ADC_SQ3 AO_ADC_V_BATT #define AO_ADC_SQ4 AO_ADC_TEMP +/* + * GPS + */ + +#define AO_SERIAL_SPEED_UBLOX AO_SERIAL_SPEED_9600 + +#define ao_gps_getchar ao_serial3_getchar +#define ao_gps_putchar ao_serial3_putchar +#define ao_gps_set_speed ao_serial3_set_speed +#define ao_gps_fifo (ao_stm_usart3.rx_fifo) + /* * Pressure sensor settings */