aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/sys_utils
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm/sys_utils')
-rw-r--r--mpm/python/usrp_mpm/sys_utils/sysfs_gpio.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/mpm/python/usrp_mpm/sys_utils/sysfs_gpio.py b/mpm/python/usrp_mpm/sys_utils/sysfs_gpio.py
index 10c8ad06a..286b8e54a 100644
--- a/mpm/python/usrp_mpm/sys_utils/sysfs_gpio.py
+++ b/mpm/python/usrp_mpm/sys_utils/sysfs_gpio.py
@@ -201,18 +201,6 @@ class GPIOBank(object):
self._ddr << self._offset
)
- def set_all(self, value):
- """
- Set all pins to 'value'.
- This method will convert value into binary and assign all the bits in
- the use mask.
- """
- bin_value = ('{0:0'+str(self._gpiosize)+'b}').format(value)
- wr_value = bin_value[-(self._gpiosize):]
- for i in range(self._gpiosize):
- if (1 << i) & self._ddr:
- self._gpios.set(self._offset + i, wr_value[i % self._gpiosize])
-
def set(self, index, value=None):
"""
Set a pin by index