From 9c6c30156aae3bf20a3f1b1d3b0766bb3c924412 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 13 Dec 2022 14:22:51 +0100 Subject: set correct serial baud rate --- confui/serial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confui/serial.cpp b/confui/serial.cpp index c03100b..1518abd 100644 --- a/confui/serial.cpp +++ b/confui/serial.cpp @@ -11,7 +11,7 @@ CDSerialConnector::CDSerialConnector() { this->_serial = new QSerialPort; - if (!_serial->setBaudRate(QSerialPort::Baud9600)) qDebug() << _serial->errorString(); + if (!_serial->setBaudRate(QSerialPort::Baud115200)) qDebug() << _serial->errorString(); if (!_serial->setDataBits(QSerialPort::Data8)) // data is 8 bits qDebug() << _serial->errorString(); if (!_serial->setParity(QSerialPort::NoParity)) qDebug() << _serial->errorString(); -- cgit v1.2.3