From b09e6991cc23937b7d001af68cac2d83a4e1dabc Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 18 Sep 2014 19:55:55 +0200 Subject: [PATCH] mainboard/xbee: display gps validity info when receiving a gps xbee msg --- mainboard/rc_proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainboard/rc_proto.c b/mainboard/rc_proto.c index 0e1b9cc..ffbf325 100644 --- a/mainboard/rc_proto.c +++ b/mainboard/rc_proto.c @@ -782,9 +782,9 @@ int rc_proto_rx(struct xbee_recv_hdr *recvframe, unsigned len) return -1; stats.gps_pos_rx++; - printf_P(PSTR("GPS received %"PRIu32" %" + printf_P(PSTR("GPS received valid=%d %"PRIu32" %" PRIu32" %"PRIu32"\n"), - rcmsg->latitude, rcmsg->longitude, + rcmsg->valid, rcmsg->latitude, rcmsg->longitude, rcmsg->altitude); return 0; } -- 2.39.5