From e20c0adb05939fbf8b71792288061b8d36fa938e Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 28 Jul 2017 09:37:37 -0700 Subject: mpm aurora: Fixed undeclared variable issue --- mpm/python/usrp_mpm/aurora_control.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mpm/python') 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() -- cgit v1.2.3