summaryrefslogtreecommitdiff
path: root/monitor_ubx.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor_ubx.c')
-rw-r--r--monitor_ubx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_ubx.c b/monitor_ubx.c
index ff89e74a..15eef106 100644
--- a/monitor_ubx.c
+++ b/monitor_ubx.c
@@ -236,7 +236,7 @@ static void ubx_update(void)
struct timedrift_t drift;
#endif /* PPS_ENABLE */
- buf = session.packet.outbuffer;
+ buf = session.lexer.outbuffer;
msgid = (unsigned short)((buf[2] << 8) | buf[3]);
data_len = (size_t) getles16(buf, 4);
switch (msgid) {