aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/test_clock_synch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/test_clock_synch.cpp b/host/examples/test_clock_synch.cpp
index 9d1883665..2d438c5ca 100644
--- a/host/examples/test_clock_synch.cpp
+++ b/host/examples/test_clock_synch.cpp
@@ -124,7 +124,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//Get GPS time to initially set USRP devices
std::cout << std::endl << "Querying Clock for time and setting USRP times..." << std::endl << std::endl;
- boost::uint32_t clock_time = clock->get_time();
+ time_t clock_time = clock->get_time();
usrp->set_time_unknown_pps(uhd::time_spec_t(double(clock_time+2)));
//Wait for next PPS to start polling