diff options
Diffstat (limited to 'drivers.c')
-rw-r--r-- | drivers.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1154,7 +1154,7 @@ const struct gps_type_t mtk3301 = { static bool aivdm_decode(const char *buf, size_t buflen, struct gps_device_t *session, struct ais_t *ais, - bool split24, int debug) + int debug) { #ifdef __UNUSED_DEBUG__ char *sixbits[64] = { @@ -1325,7 +1325,7 @@ static bool aivdm_decode(const char *buf, size_t buflen, ais, ais_context->bits, ais_context->bitlen, - split24 ? NULL : &ais_context->type24_queue); + &ais_context->type24_queue); } /* we're still waiting on another sentence */ @@ -1340,7 +1340,6 @@ static gps_mask_t aivdm_analyze(struct gps_device_t *session) if (aivdm_decode ((char *)session->packet.outbuffer, session->packet.outbuflen, session, &session->gpsdata.ais, - session->gpsdata.policy.split24, session->context->debug)) { return ONLINE_SET | AIS_SET; } else |