From: Olivier Matz Date: Thu, 18 Sep 2014 17:55:55 +0000 (+0200) Subject: mainboard/xbee: display gps validity info when receiving a gps xbee msg X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b09e6991cc23937b7d001af68cac2d83a4e1dabc;p=fpv.git mainboard/xbee: display gps validity info when receiving a gps xbee msg --- 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; }