summaryrefslogtreecommitdiff
path: root/src/drivers/ao_gps_skytraq.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-04-12 14:51:07 -0700
committerKeith Packard <keithp@keithp.com>2012-04-14 14:04:29 -0700
commit040a6eb119451026e1ec7c3a6a8e76b439c632d5 (patch)
treec334b0f83d8202626c544238b53def46339042b0 /src/drivers/ao_gps_skytraq.c
parentf952f9c285e2718a433c8c720c9b5d9c369e7036 (diff)
altos: Massive product config cleanup
Support multiple serial ports more cleanly Split out parts of ao.h into separate feature header files Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_gps_skytraq.c')
-rw-r--r--src/drivers/ao_gps_skytraq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/ao_gps_skytraq.c b/src/drivers/ao_gps_skytraq.c
index 39e36cc8..84616a05 100644
--- a/src/drivers/ao_gps_skytraq.c
+++ b/src/drivers/ao_gps_skytraq.c
@@ -20,15 +20,15 @@
#endif
#ifndef ao_gps_getchar
-#define ao_gps_getchar ao_serial_getchar
+#define ao_gps_getchar ao_serial1_getchar
#endif
#ifndef ao_gps_putchar
-#define ao_gps_putchar ao_serial_putchar
+#define ao_gps_putchar ao_serial1_putchar
#endif
#ifndef ao_gps_set_speed
-#define ao_gps_set_speed ao_serial_set_speed
+#define ao_gps_set_speed ao_serial1_set_speed
#endif
__xdata uint8_t ao_gps_mutex;