From ab63a540883bf4c21980ac30b746045e00fffc0a Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Fri, 17 Jun 2011 15:38:20 -0700 Subject: Refactor GPS code to duplicate way less stuff, make members private --- host/docs/gpsdo.rst | 2 +- host/docs/usrp2.rst | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'host/docs') diff --git a/host/docs/gpsdo.rst b/host/docs/gpsdo.rst index dc03f6ae9..a0f2d67da 100644 --- a/host/docs/gpsdo.rst +++ b/host/docs/gpsdo.rst @@ -53,7 +53,7 @@ GPS data is obtained through the mboard_sensors interface. To retrieve the current GPS time, use the "gps_time" sensor: :: -usrp->get_mboard_sensor("gps_time"); + usrp->get_mboard_sensor("gps_time"); The returned value will be the current epoch time, in seconds since January 1, 1970. This value is readily converted into human-readable diff --git a/host/docs/usrp2.rst b/host/docs/usrp2.rst index fa811d0f6..1b07834fb 100644 --- a/host/docs/usrp2.rst +++ b/host/docs/usrp2.rst @@ -395,7 +395,8 @@ they can be queried through the API. * mimo_locked - clock reference locked over the MIMO cable * ref_locked - clock reference locked (internal/external) -* gps_time - GPS seconds (available when GPSDO installed) +* gps_time - GPS epoch seconds (available when GPSDO installed) +* gps_locked - GPS lock status ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Multiple RX channels -- cgit v1.2.3