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
commit 418bc77d4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {