summaryrefslogtreecommitdiff
path: root/isgps.c
diff options
context:
space:
mode:
Diffstat (limited to 'isgps.c')
-rw-r--r--isgps.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/isgps.c b/isgps.c
index 97d3aa31..4c89ad40 100644
--- a/isgps.c
+++ b/isgps.c
@@ -282,13 +282,14 @@ enum isgpsstat_t isgps_decode(struct gps_packet_t *session,
session->isgps.buf[session->isgps.bufindex] =
session->isgps.curr_word;
+ /* *INDENT-OFF* */
if ((session->isgps.bufindex == 0) &&
- !preamble_match((isgps30bits_t *) session->isgps.
- buf)) {
+ !preamble_match((isgps30bits_t *) session->isgps.buf)) {
gpsd_report(ISGPS_ERRLEVEL_BASE + 1,
"ISGPS word 0 not a preamble- punting\n");
return ISGPS_NO_SYNC;
}
+ /* *INDENT-ON* */
session->isgps.bufindex++;
if (length_check(session)) {