aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2017-06-13 11:57:09 +0200
committerKlaus Goger <klaus.goger@theobroma-systems.com>2017-06-13 11:57:09 +0200
commitd8c37337328928a32673d37e9ce9456ffc679682 (patch)
tree4ed0f1057d07415c6d73ad620249cf86be16ae61
parent05cb122e6e7963a4a96a9f96112b68803a74888b (diff)
usb-control: fix bios disable logic
Haikou uses a FET to control the BIOS Disable pin. So we have to invert the signal.
-rwxr-xr-xusb-control/haikou.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/usb-control/haikou.py b/usb-control/haikou.py
index 84cf490..e9486f5 100755
--- a/usb-control/haikou.py
+++ b/usb-control/haikou.py
@@ -65,10 +65,10 @@ if dev is None:
sys.exit()
if args.bios_disable:
- send_gpio_command(1,0)
+ send_gpio_command(1,1)
if args.normal_boot:
- send_gpio_command(1,1)
+ send_gpio_command(1,0)
if args.power:
send_gpio_command(0,1)