mirror of
https://gitlab.com/eql/lqml.git
synced 2026-04-30 08:51:03 -07:00
revisons
This commit is contained in:
parent
b4e8d9d725
commit
56abcec16c
2 changed files with 2 additions and 1 deletions
|
|
@ -7,9 +7,10 @@
|
|||
USB_ME::USB_ME(Connection* _con) : con(_con) {
|
||||
connect(this, &QSerialPort::readyRead, this, &USB_ME::read2);
|
||||
connect(this, &QSerialPort::errorOccurred,
|
||||
[](QSerialPort::SerialPortError error) {
|
||||
[&](QSerialPort::SerialPortError error) {
|
||||
if (error != QSerialPort::NoError) {
|
||||
qDebug() << "USB error:" << error;
|
||||
disconnect();
|
||||
}
|
||||
});
|
||||
setBaudRate(Baud115200);
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 282 KiB After Width: | Height: | Size: 265 KiB |
Loading…
Add table
Add a link
Reference in a new issue