diff options
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/usrp_e100/clock_ctrl.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/host/lib/usrp/usrp_e100/clock_ctrl.cpp b/host/lib/usrp/usrp_e100/clock_ctrl.cpp index dd7f8507b..05a27c38b 100644 --- a/host/lib/usrp/usrp_e100/clock_ctrl.cpp +++ b/host/lib/usrp/usrp_e100/clock_ctrl.cpp @@ -115,15 +115,12 @@ static std::vector<clock_settings_type> _get_clock_settings(void){ if (cs.get_out_rate() < 32e6) continue; //lowest we allow for GPMC interface clock_settings.push_back(cs); }}}}} - - std::sort(clock_settings.begin(), clock_settings.end()); - return clock_settings; } -static std::vector<clock_settings_type> &get_clock_settings(void){ - static std::vector<clock_settings_type> clock_settings = _get_clock_settings(); - return clock_settings; -} +/*********************************************************************** + * Constants + **********************************************************************/ +static const bool enable_test_clock = true; /*********************************************************************** * Clock Control Implementation |