summaryrefslogtreecommitdiff
path: root/src/test/ao_gps_test.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/test/ao_gps_test.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/test/ao_gps_test.c')
-rw-r--r--src/test/ao_gps_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ao_gps_test.c b/src/test/ao_gps_test.c
index 93d7a9ab..4d4012df 100644
--- a/src/test/ao_gps_test.c
+++ b/src/test/ao_gps_test.c
@@ -317,7 +317,7 @@ static uint8_t sirf_in_message[4096];
static int sirf_in_len;
char
-ao_serial_getchar(void)
+ao_serial1_getchar(void)
{
char c;
uint8_t uc;
@@ -351,7 +351,7 @@ ao_serial_getchar(void)
void
-ao_serial_putchar(char c)
+ao_serial1_putchar(char c)
{
int i;
uint8_t uc = (uint8_t) c;
@@ -388,7 +388,7 @@ ao_serial_putchar(char c)
#define AO_SERIAL_SPEED_57600 1
static void
-ao_serial_set_speed(uint8_t speed)
+ao_serial1_set_speed(uint8_t speed)
{
int fd = ao_gps_fd;
struct termios termios;