mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 22:17:31 +00:00
More debug output
This commit is contained in:
parent
0d6e844def
commit
3ce4a88a25
8 changed files with 75 additions and 26 deletions
|
|
@ -141,8 +141,6 @@ Protocol::DeviceInfo Device::lastInfo = defaultInfo;
|
|||
|
||||
Device::Device(QString serial)
|
||||
{
|
||||
qDebug() << "Starting device connection...";
|
||||
|
||||
lastInfo = defaultInfo;
|
||||
|
||||
m_handle = nullptr;
|
||||
|
|
@ -302,7 +300,7 @@ std::set<QString> Device::GetDevices()
|
|||
|
||||
void Device::USBHandleThread()
|
||||
{
|
||||
qInfo() << "Receive thread started" << flush;
|
||||
qDebug() << "Receive thread started";
|
||||
while (m_connected) {
|
||||
libusb_handle_events(m_context);
|
||||
}
|
||||
|
|
@ -362,7 +360,6 @@ void Device::SearchDevices(std::function<bool (libusb_device_handle *, QString)>
|
|||
if (ret > 0) {
|
||||
/* managed to read the product string */
|
||||
QString product(c_product);
|
||||
qDebug() << "Opened device: " << product;
|
||||
if (product == "VNA") {
|
||||
// this is a match
|
||||
if(!foundCallback(handle, QString(c_serial))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue