mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
using libgpiod for the serial hid
This commit is contained in:
@@ -44,10 +44,6 @@ def _clear_gpio(config: Section) -> None:
|
||||
|
||||
with gpio.bcm():
|
||||
for (name, pin) in [
|
||||
*([
|
||||
("hid_serial/reset", config.hid.reset_pin),
|
||||
] if config.hid.type == "serial" else []),
|
||||
|
||||
*([
|
||||
("atx_gpio/power_switch", config.atx.power_switch_pin),
|
||||
("atx_gpio/reset_switch", config.atx.reset_switch_pin),
|
||||
|
||||
Reference in New Issue
Block a user