From b49756c40c6b08cc53857cd457e6db0bc99079a9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 9 May 2010 13:32:39 -0400 Subject: C AIS decoder now has separate contexts for A and B channels. AIS regression test passes. --- gpsdecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpsdecode.c') diff --git a/gpsdecode.c b/gpsdecode.c index f952ffc7..10b389e8 100644 --- a/gpsdecode.c +++ b/gpsdecode.c @@ -365,7 +365,7 @@ static void decode(FILE * fpin, FILE * fpout) struct rtcm2_t rtcm2; struct rtcm3_t rtcm3; struct ais_t ais; - struct aivdm_context_t aivdm; + struct aivdm_context_t aivdm[AIVDM_CHANNELS]; char buf[BUFSIZ]; memset(&aivdm, '\0', sizeof(aivdm)); -- cgit v1.2.1