Skip to content

Commit 1967466

Browse files
authored
Merge pull request #32 from LeeLeahy2/rtcm-length
RTCM_Test: Display the length in hex as well
2 parents a11f3d7 + 51abb78 commit 1967466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Parse_RTCM.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ bool sempRtcmReadCrc(SEMP_PARSE_STATE *parse, uint8_t data)
6565
// Display the RTCM messages with bad CRC
6666
else
6767
sempPrintf(parse->printDebug,
68-
"SEMP: %s RTCM %d, %2d bytes, bad CRC, "
68+
"SEMP: %s RTCM %d, 0x%04x (%d) bytes, bad CRC, "
6969
"received %02x %02x %02x, computed: %02x %02x %02x",
7070
parse->parserName,
7171
scratchPad->rtcm.message,
72-
parse->length,
72+
parse->length, parse->length,
7373
parse->buffer[parse->length - 3],
7474
parse->buffer[parse->length - 2],
7575
parse->buffer[parse->length - 1],

0 commit comments

Comments
 (0)