aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/base.py')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py
index 459f8833f..4815bd88d 100644
--- a/mpm/python/usrp_mpm/periph_manager/base.py
+++ b/mpm/python/usrp_mpm/periph_manager/base.py
@@ -77,8 +77,8 @@ class PeriphManagerBase(object):
# I know spidev masters on the dboard slots
hw_pid = 2
if hw_pid in dboard_manager.HW_PIDS:
- spi_devices = get_spidev_nodes("e0006000.spi")
- self.log.debug("found spidev nodes: {0}".format(spi_devices))
+ spi_devices = sorted(get_spidev_nodes("e0006000.spi"))
+ self.log.debug("Found spidev nodes: {0}".format(spi_devices))
dboard = dboard_manager.HW_PIDS.get(hw_pid, dboard_manager.unknown)
self.dboards.update({dboard_slot: dboard(spi_devices, eeprom_data)})