summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/docs/sync.rst2
1 files changed, 1 insertions, 1 deletions
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));