diff options
| -rw-r--r-- | host/include/uhd/usrp/mimo_usrp.hpp | 1 | ||||
| -rw-r--r-- | host/lib/usrp/mimo_usrp.cpp | 4 | 
2 files changed, 5 insertions, 0 deletions
| diff --git a/host/include/uhd/usrp/mimo_usrp.hpp b/host/include/uhd/usrp/mimo_usrp.hpp index 483feca29..a3cbde483 100644 --- a/host/include/uhd/usrp/mimo_usrp.hpp +++ b/host/include/uhd/usrp/mimo_usrp.hpp @@ -75,6 +75,7 @@ public:       * The values will not be latched in until the pulse occurs.       * It is recommended that the user sleep(1) after calling to ensure       * that the time registers will be in a known state prior to use. +     * This call works across all mboards in the mimo configuration.       *       * Note: Because this call sets the time on the "next" pps,       * the seconds in the time spec should be current seconds + 1. diff --git a/host/lib/usrp/mimo_usrp.cpp b/host/lib/usrp/mimo_usrp.cpp index 3c9788388..bd7753d09 100644 --- a/host/lib/usrp/mimo_usrp.cpp +++ b/host/lib/usrp/mimo_usrp.cpp @@ -64,6 +64,10 @@ public:              mboard[MBOARD_PROP_CLOCK_CONFIG] = clock_config;          } +        //set the times to zero at the next pps and sleep +        this->set_time_next_pps(time_spec_t(0, 0)); +        sleep(1); +      }      ~mimo_usrp_impl(void){ | 
