diff options
Diffstat (limited to 'configs/Firestone.py')
-rw-r--r-- | configs/Firestone.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/configs/Firestone.py b/configs/Firestone.py index f525661..0f28515 100644 --- a/configs/Firestone.py +++ b/configs/Firestone.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 @@ -346,18 +343,6 @@ GPIO_CONFIG['PS1_PRES_N'] = \ GPIO_CONFIG['CARD_PRES_N'] = \ {'gpio_pin': 'J0', '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 = { '4-0050' : { 'names' : { |