aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-04-20 17:24:18 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-04-21 15:19:46 -0500
commit87b65cf7ab9754d5361cc87d98b013d3c2993405 (patch)
treed6c066d942ed23973218f5e9ce5c7b2a7195034b /mpm/python
parent2fb53be084c89a55d800145029ae08d021382758 (diff)
downloaduhd-87b65cf7ab9754d5361cc87d98b013d3c2993405.tar.gz
uhd-87b65cf7ab9754d5361cc87d98b013d3c2993405.tar.bz2
uhd-87b65cf7ab9754d5361cc87d98b013d3c2993405.zip
mpm: periph_mgr: Demote "no SPI nodes" warning
When there are SPI nodes declared for a daughterboard, MPM will emit a warning: "No SPI nodes for dboard". The warning is misleading, because this only occurs when no SPI nodes where *declared*, not when they were declared but not found. This is entirely normal for USRPs where the daughterboards do not have SPI nodes, and thus, not even worth a debug statement.
Diffstat (limited to 'mpm/python')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py
index a1c5e4d4a..47a356012 100644
--- a/mpm/python/usrp_mpm/periph_manager/base.py
+++ b/mpm/python/usrp_mpm/periph_manager/base.py
@@ -487,7 +487,7 @@ class PeriphManagerBase(object):
self.log.trace("Found spidev nodes: {0}".format(spi_nodes))
else:
spi_nodes = []
- self.log.warning("No SPI nodes for dboard %d.", dboard_idx)
+ self.log.trace("No SPI nodes for dboard %d.", dboard_idx)
dboard_info.update({
'spi_nodes': spi_nodes,
'default_args': default_args,