aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/dboard_manager
diff options
context:
space:
mode:
authorSugandha Gupta <sugandha.gupta@ettus.com>2018-08-03 16:22:29 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-08-09 17:39:14 -0700
commit4683f0fa1886e3d53749965471ce419d42f04fd2 (patch)
tree165ad75458abe77c591d3627dcfa79a7832c529e /mpm/python/usrp_mpm/dboard_manager
parent2c91648c7f8f21e1d2e528e2c0a8bd28a1c89d7d (diff)
downloaduhd-4683f0fa1886e3d53749965471ce419d42f04fd2.tar.gz
uhd-4683f0fa1886e3d53749965471ce419d42f04fd2.tar.bz2
uhd-4683f0fa1886e3d53749965471ce419d42f04fd2.zip
e320: Add all 5 temp sensors, fan sensor and rssi sensors per channel
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager')
-rw-r--r--mpm/python/usrp_mpm/dboard_manager/neon.py6
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',