diff options
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager/neon.py')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/neon.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/neon.py b/mpm/python/usrp_mpm/dboard_manager/neon.py index 5ab014330..c0eb10eae 100644 --- a/mpm/python/usrp_mpm/dboard_manager/neon.py +++ b/mpm/python/usrp_mpm/dboard_manager/neon.py @@ -309,13 +309,11 @@ class Neon(DboardManagerBase): """ return self.catalina.get_rssi(which) - def get_rssi_sensor(self, which=None): + def get_rssi_sensor(self, chan): """ Return a sensor dictionary containing the current RSSI of `which` chain in Catalina """ - if which is None: - # Default to RX1 chain - which = "RX1" + which = 'RX' + str(chan+1) return { 'name': 'rssi', 'type': 'REALNUM', |