summaryrefslogtreecommitdiffstats
path: root/configs/Barreleye.py
diff options
context:
space:
mode:
Diffstat (limited to 'configs/Barreleye.py')
-rw-r--r--configs/Barreleye.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/configs/Barreleye.py b/configs/Barreleye.py
index 8a3bbca..0273c4b 100644
--- a/configs/Barreleye.py
+++ b/configs/Barreleye.py
@@ -1,6 +1,3 @@
-GPIO_BASE = 320
-
-
## System states
## state can change to next state in 2 ways:
## - a process emits a GotoSystemState signal with state name to goto
@@ -366,15 +363,6 @@ GPIO_CONFIG['SLOT2_PRESENT'] = { 'gpio_pin': 'N5', 'direction': 'in' }
GPIO_CONFIG['MEZZ0_PRESENT'] = { 'gpio_pin': 'O0', 'direction': 'in' }
GPIO_CONFIG['MEZZ1_PRESENT'] = { 'gpio_pin': 'O1', 'direction': 'in' }
-def convertGpio(name):
- name = name.upper()
- c = name[0:1]
- offset = int(name[1:])
- a = ord(c)-65
- base = a*8+GPIO_BASE
- return base+offset
-
-
HWMON_CONFIG = {
'0-004a' : {
'names' : {
OpenPOWER on IntegriCloud