diff options
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager/eiscat.py')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/eiscat.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/eiscat.py b/mpm/python/usrp_mpm/dboard_manager/eiscat.py index adbbd848f..10806dfb1 100644 --- a/mpm/python/usrp_mpm/dboard_manager/eiscat.py +++ b/mpm/python/usrp_mpm/dboard_manager/eiscat.py @@ -658,12 +658,13 @@ class EISCAT(DboardManagerBase): """ Call this to notify the daughterboard about a change in reference clock """ - self.ref_clock_freq = freq - if self.initialized: + if self.initialized and freq != self.ref_clock_freq: self.log.warning( "Attempting to update external reference clock frequency " "after initialization! This will only take effect after " - "the daughterboard is re-initialized." + "the daughterboard is re-initialized. Unsetting init flag now." ) + self.initialized = False + self.ref_clock_freq = freq |