From: Keith Packard Date: Sat, 1 Dec 2012 00:08:41 +0000 (-0800) Subject: altos: Expose GPS serial fifo on MegaMetrum X-Git-Tag: 1.1.9.3~36 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=c90ece979f3c95cc6c557c5a2ba8f4a0ce78e173;hp=ae0ddb0f866a26867f0147e0811717810f74c9ef altos: Expose GPS serial fifo on MegaMetrum Necessary for direct access by the GPS reflashing code Signed-off-by: Keith Packard --- diff --git a/src/megametrum-v0.1/ao_pins.h b/src/megametrum-v0.1/ao_pins.h index 5ae80ac5..f07dc26e 100644 --- a/src/megametrum-v0.1/ao_pins.h +++ b/src/megametrum-v0.1/ao_pins.h @@ -62,6 +62,7 @@ #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