diff --git a/proxyclient/m1n1/proxy.py b/proxyclient/m1n1/proxy.py index 550ea675..a6a19e06 100644 --- a/proxyclient/m1n1/proxy.py +++ b/proxyclient/m1n1/proxy.py @@ -135,7 +135,7 @@ class UartInterface(Reloadable): self.debug = debug self.devpath = None if device is None: - device = os.environ.get("M1N1DEVICE", "/dev/ttyACM0:115200") + device = os.environ.get("M1N1DEVICE", "/dev/m1n1:115200") if isinstance(device, str): baud = 115200 if ":" in device: @@ -1076,7 +1076,7 @@ __all__.extend(k for k, v in globals().items() if __name__ == "__main__": import serial - uartdev = os.environ.get("M1N1DEVICE", "/dev/ttyACM0") + uartdev = os.environ.get("M1N1DEVICE", "/dev/m1n1") usbuart = serial.Serial(uartdev, 115200) uartif = UartInterface(usbuart, debug=True) print("Sending NOP...", end=' ')