mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
removed unused gpio init
This commit is contained in:
parent
e3504ee69e
commit
00097cbb98
@ -13,8 +13,6 @@ import serial
|
||||
|
||||
from .logging import get_logger
|
||||
|
||||
from . import gpio
|
||||
|
||||
|
||||
# =====
|
||||
def _get_keymap() -> Dict[str, int]:
|
||||
@ -95,7 +93,6 @@ class Hid(multiprocessing.Process):
|
||||
get_logger().exception("Can't execute emergency clear events")
|
||||
|
||||
def run(self) -> None:
|
||||
with gpio.bcm():
|
||||
try:
|
||||
with serial.Serial(self.__device_path, self.__speed) as tty:
|
||||
while True:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user