Skip to content

Commit

Permalink
Merge pull request ganzziani#31 from rzr/sandbox/rzr/upstream/master
Browse files Browse the repository at this point in the history
libusbdevice: Init class members
  • Loading branch information
ganzziani authored Sep 29, 2018
2 parents c92dfb6 + cf76ab7 commit 5f664cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libusbdevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ LibUsbDevice::LibUsbDevice(QObject *parent) :
pcToUsbDeviceTransfer = NULL;
usbDeviceToPcTransfer = NULL;
dataAvailable = false;
count = 0;
dataLength = 0;
hasHotPlugSupport = false;
deviceFound = NULL;
connect(&serial,SIGNAL(newData(int)),this,SLOT(newDataAvailable(int)));
Expand Down

0 comments on commit 5f664cc

Please sign in to comment.