diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-07-28 09:37:37 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:04:00 -0800 |
commit | e20c0adb05939fbf8b71792288061b8d36fa938e (patch) | |
tree | 31b62e6b5cecdfd901bc54312f2965e2989448ca | |
parent | a745877cc9e3962dedb3f6b7c5db3382568fadee (diff) | |
download | uhd-e20c0adb05939fbf8b71792288061b8d36fa938e.tar.gz uhd-e20c0adb05939fbf8b71792288061b8d36fa938e.tar.bz2 uhd-e20c0adb05939fbf8b71792288061b8d36fa938e.zip |
mpm aurora: Fixed undeclared variable issue
-rw-r--r-- | mpm/python/usrp_mpm/aurora_control.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/aurora_control.py b/mpm/python/usrp_mpm/aurora_control.py index b676e99d1..02ebf33f6 100644 --- a/mpm/python/usrp_mpm/aurora_control.py +++ b/mpm/python/usrp_mpm/aurora_control.py @@ -383,6 +383,7 @@ class AuroraControl(object): slave.clear_control_reg() sla_status = slave.read_mac_ctrl_status() sla_overruns = slave.read_overruns() + sla_hard_errors = 0 if sla_status & self.MAC_STATUS_HARD_ERR_MSK: self.log.error('Hard errors in slave PHY') sla_hard_errors = slave.read_overruns() |