mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-03 11:31:53 +08:00
removed unused gpio init
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user