[BUGFIX] Fix a segfault in debug mode with lightpack (#651)

This commit is contained in:
Patrick Decat 2019-12-08 13:20:50 +01:00 committed by Paulchen Panther
parent 85d1016dff
commit 6c4dfe1340

View File

@ -231,7 +231,7 @@ int LedDeviceLightpack::testAndOpen(libusb_device * device, const QString & requ
_ledBuffer[0] = CMD_UPDATE_LEDS;
// return success
Debug(_log, "Lightpack device opened: bus=%d address=%d serial=%s version=%s.%s.", _busNumber, _addressNumber, QSTRING_CSTR(_serialNumber), _firmwareVersion.majorVersion, _firmwareVersion.minorVersion );
Debug(_log, "Lightpack device opened: bus=%d address=%d serial=%s version=%d.%d.", _busNumber, _addressNumber, QSTRING_CSTR(_serialNumber), _firmwareVersion.majorVersion, _firmwareVersion.minorVersion );
return 0;
}
catch(int e)