From 22ec3e4bd6a489d1809760e3fedcd6892798c0e0 Mon Sep 17 00:00:00 2001 From: Trung Tran Date: Tue, 9 Oct 2018 23:26:15 -0700 Subject: mpm: dboard_manager: add more args to update_ref_clock_freq Summary: This change will allow correct args to pass from mboard to dboards, that in turn can be useful for dboard manager. Details: In N310, the dboard manager needs the time source to be updated before calling update_ref_clock_source(), because it will trigger a reinit of the dboard, for which the time_source is essential to determine correct clock synchronizer settings. The special case is the white rabbit time source needs a different internal ref_clock_frequency for the clock synchronizer than the passed in ref_clock_freq. --- mpm/python/usrp_mpm/dboard_manager/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/python/usrp_mpm/dboard_manager/base.py') diff --git a/mpm/python/usrp_mpm/dboard_manager/base.py b/mpm/python/usrp_mpm/dboard_manager/base.py index f7ba918f6..be37a6264 100644 --- a/mpm/python/usrp_mpm/dboard_manager/base.py +++ b/mpm/python/usrp_mpm/dboard_manager/base.py @@ -98,7 +98,7 @@ class DboardManagerBase(object): """ return self.device_info.get("serial", "") - def update_ref_clock_freq(self, freq): + def update_ref_clock_freq(self, freq, **kwargs): """ Call this function if the frequency of the reference clock changes. """ -- cgit v1.2.3