aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-12-13 14:22:51 +0100
committerlonkaars <loek@pipeframe.xyz>2022-12-13 14:22:51 +0100
commit9c6c30156aae3bf20a3f1b1d3b0766bb3c924412 (patch)
tree36a015cc7e189b2bfc6d75a47e7d60f852dfb5af
parentd8a9d9119df43b163ab6b6799b50f1f04811132a (diff)
set correct serial baud rate
-rw-r--r--confui/serial.cpp2
1 files changed, 1 insertions, 1 deletions
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();