mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 10:31:34 -08:00
revision
This commit is contained in:
parent
56abcec16c
commit
a3879f7288
1 changed files with 4 additions and 2 deletions
|
|
@ -71,9 +71,11 @@ done:
|
||||||
}
|
}
|
||||||
|
|
||||||
void USB_ME::disconnect() {
|
void USB_ME::disconnect() {
|
||||||
|
if (isOpen()) {
|
||||||
close();
|
close();
|
||||||
qDebug() << "USB closed";
|
qDebug() << "USB closed";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void USB_ME::write2(const QByteArray& data) {
|
void USB_ME::write2(const QByteArray& data) {
|
||||||
if (ready) {
|
if (ready) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue