diff options
author | Devaev Maxim <[email protected]> | 2019-02-20 05:37:19 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-02-20 05:37:19 +0300 |
commit | 70e0a1df45745a3c14b74e39c4e4100be8414c7b (patch) | |
tree | 14453bcd5c21278a2c457d9688d43b532250e4b8 /kvmd/apps/cleanup/__init__.py | |
parent | d0be0ef9e8be816adc7f583fd28ba72b678c0b95 (diff) |
fixed cleanup pinout
Diffstat (limited to 'kvmd/apps/cleanup/__init__.py')
-rw-r--r-- | kvmd/apps/cleanup/__init__.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kvmd/apps/cleanup/__init__.py b/kvmd/apps/cleanup/__init__.py index f64d6f75..4aa7f2c1 100644 --- a/kvmd/apps/cleanup/__init__.py +++ b/kvmd/apps/cleanup/__init__.py @@ -39,13 +39,13 @@ def main() -> None: logger.info("Cleaning up ...") with gpio.bcm(): for (name, pin) in [ - ("hid_reset", config.hid.pinout.reset), - ("msd_target", config.msd.pinout.target), - ("msd_reset", config.msd.pinout.reset), - ("atx_power_switch", config.atx.pinout.power_switch), - ("atx_reset_switch", config.atx.pinout.reset_switch), - ("streamer_cap", config.streamer.pinout.cap), - ("streamer_conv", config.streamer.pinout.conv), + ("hid_reset_pin", config.hid.reset_pin), + ("msd_target_pin", config.msd.target_pin), + ("msd_reset_pin", config.msd.reset_pin), + ("atx_power_switch_pin", config.atx.power_switch_pin), + ("atx_reset_switch_pin", config.atx.reset_switch_pin), + ("streamer_cap_pin", config.streamer.cap_pin), + ("streamer_conv_pin", config.streamer.conv_pin), ]: if pin > 0: logger.info("Writing value=0 to pin=%d (%s)", pin, name) |