Reenable verbose

This commit is contained in:
2022-06-05 15:54:14 +02:00
parent 1d080689b7
commit 8e53b4346b
3 changed files with 10 additions and 5 deletions

View File

@@ -31,10 +31,10 @@ class ExtronSerial(SerialDevice):
# w == escape
# | == carriage return
def __init__(self) -> None:
def __init__(self, verbose: bool = False) -> None:
serial_port = "/dev/serial/by-id/usb-Extron_Product-if00"
baudrate = 9600
super().__init__(serial_port, baudrate)
super().__init__(serial_port, baudrate, verbose)
def send_command(self, command: str, verbose: bool = False) -> str:
response = super().send_command(command, verbose)