diff options
Diffstat (limited to 'drivers.c')
-rw-r--r-- | drivers.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1062,8 +1062,7 @@ static gps_mask_t aivdm_analyze(struct gps_device_t *session) if (session->packet.type == AIVDM_PACKET){ session->cycle_state = CYCLE_END_RELIABLE; if (aivdm_decode((char *)session->packet.outbuffer, session->packet.outbuflen, &session->aivdm)) { - if (session->aivdm.decoded.type != 24 || session->aivdm.decoded.type24.part == 1) - session->cycle_state = CYCLE_END; + session->cycle_state = CYCLE_END; return ONLINE_SET | AIS_SET; }else return ONLINE_SET; |