Merge pull request #448 from mcumings/baudrate

Set default USB baud rate to 115200 to match Meshtastic-device
This commit is contained in:
Andre Kirchhoff
2022-06-17 14:28:53 -03:00
committed by GitHub

View File

@@ -59,7 +59,7 @@ internal class SerialConnectionImpl(
}
port.open(usbDeviceConnection)
port.setParameters(921600, 8, UsbSerialPort.STOPBITS_1, UsbSerialPort.PARITY_NONE)
port.setParameters(115200, 8, UsbSerialPort.STOPBITS_1, UsbSerialPort.PARITY_NONE)
debug("Starting serial reader thread")
val io = SerialInputOutputManager(port, object : SerialInputOutputManager.Listener {