diff options
author | Nick Foster <nick@ettus.com> | 2011-06-17 15:38:20 -0700 |
---|---|---|
committer | Nick Foster <nick@ettus.com> | 2011-06-17 16:01:24 -0700 |
commit | ab63a540883bf4c21980ac30b746045e00fffc0a (patch) | |
tree | fde3dd1669c965ff8a28334314eea0498e221c86 /host/docs | |
parent | 42f8c623f9161b9810433985d3a5555633b8c869 (diff) | |
download | uhd-ab63a540883bf4c21980ac30b746045e00fffc0a.tar.gz uhd-ab63a540883bf4c21980ac30b746045e00fffc0a.tar.bz2 uhd-ab63a540883bf4c21980ac30b746045e00fffc0a.zip |
Refactor GPS code to duplicate way less stuff, make members private
Diffstat (limited to 'host/docs')
-rw-r--r-- | host/docs/gpsdo.rst | 2 | ||||
-rw-r--r-- | host/docs/usrp2.rst | 3 |
2 files changed, 3 insertions, 2 deletions
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 |