diff --git a/src/comm/QGCSerialPortInfo.cc b/src/comm/QGCSerialPortInfo.cc index 48bbbbd548d1df8e282d3683d70b1e9b4f146a40..133bd672f3735912159282a69fe6a37efe8396d5 100644 --- a/src/comm/QGCSerialPortInfo.cc +++ b/src/comm/QGCSerialPortInfo.cc @@ -25,6 +25,12 @@ QGC_LOGGING_CATEGORY(QGCSerialPortInfoLog, "QGCSerialPortInfoLog") +QGCSerialPortInfo::QGCSerialPortInfo(void) : + QSerialPortInfo() +{ + +} + QGCSerialPortInfo::QGCSerialPortInfo(const QSerialPort & port) : QSerialPortInfo(port) { diff --git a/src/comm/QGCSerialPortInfo.h b/src/comm/QGCSerialPortInfo.h index 7f99a0c8af89966025203b850c6a81ce7d8dedbf..1fa6e311456733252163af5c18807c9a630902ac 100644 --- a/src/comm/QGCSerialPortInfo.h +++ b/src/comm/QGCSerialPortInfo.h @@ -63,6 +63,7 @@ public: static const int threeDRRadioVendorId = 1027; ///< Vendor ID for 3DR Radio static const int threeDRRadioProductId = 24597; ///< Product ID for 3DR Radio + QGCSerialPortInfo(void); QGCSerialPortInfo(const QSerialPort & port); /// Override of QSerialPortInfo::availablePorts