From 8444c6a8354c3c2de283c64897241798d031abe3 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 10 Aug 2011 07:29:42 -0700 Subject: uhd: fix sync docs typo for pps detect method1 --- host/docs/sync.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/docs/sync.rst b/host/docs/sync.rst index 3cb13fbf3..fe37a66dd 100644 --- a/host/docs/sync.rst +++ b/host/docs/sync.rst @@ -78,7 +78,7 @@ When the last PPS time increments, the user can determine that a PPS has occurre :: const uhd::time_spec_t last_pps_time = usrp->get_time_last_pps(); - while (last_pps_time != usrp->get_time_last_pps()){ + while (last_pps_time == usrp->get_time_last_pps()){ //sleep 100 milliseconds (give or take) } usrp->set_time_next_pps(uhd::time_spec_t(0.0)); -- cgit v1.2.3