mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 12:46:34 +00:00
Minor changes.
This commit is contained in:
@@ -21,11 +21,12 @@ SerialPort::SerialPort(QString usePort)
|
||||
|
||||
// Open the serial port
|
||||
if (openPort() == false) {
|
||||
qCritical().noquote().nospace() << "SerialPort(): Unable to open port " << port;
|
||||
return;
|
||||
qCritical().noquote().nospace() << "SerialPort(): Unable to open port " << usePort;
|
||||
delete mSerialPort;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
qDebug().noquote().nospace() << "SerialPort(): Opened port " << port;
|
||||
qDebug().noquote().nospace() << "SerialPort(): Opened port " << usePort;
|
||||
}
|
||||
|
||||
SerialPort::~SerialPort()
|
||||
|
||||
Reference in New Issue
Block a user