summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-11-30 16:08:41 -0800
committerKeith Packard <keithp@keithp.com>2012-11-30 16:08:41 -0800
commitc90ece979f3c95cc6c557c5a2ba8f4a0ce78e173 (patch)
treec52ffedeef43d76f34d68a2d00969227339a3bc1 /src
parentae0ddb0f866a26867f0147e0811717810f74c9ef (diff)
altos: Expose GPS serial fifo on MegaMetrum
Necessary for direct access by the GPS reflashing code Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/megametrum-v0.1/ao_pins.h1
1 files changed, 1 insertions, 0 deletions
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