altos: Expose GPS serial fifo on MegaMetrum
authorKeith Packard <keithp@keithp.com>
Sat, 1 Dec 2012 00:08:41 +0000 (16:08 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 1 Dec 2012 00:08:41 +0000 (16:08 -0800)
Necessary for direct access by the GPS reflashing code

Signed-off-by: Keith Packard <keithp@keithp.com>
src/megametrum-v0.1/ao_pins.h

index 5ae80ac518a61cb61230011a98baee55383082b3..f07dc26ed975fc11b0d5324720bf14cf471d1f29 100644 (file)
@@ -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