mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
[BUGFIX] Fix a segfault in debug mode with lightpack (#651)
This commit is contained in:
parent
85d1016dff
commit
6c4dfe1340
@ -231,7 +231,7 @@ int LedDeviceLightpack::testAndOpen(libusb_device * device, const QString & requ
|
|||||||
_ledBuffer[0] = CMD_UPDATE_LEDS;
|
_ledBuffer[0] = CMD_UPDATE_LEDS;
|
||||||
|
|
||||||
// return success
|
// 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;
|
return 0;
|
||||||
}
|
}
|
||||||
catch(int e)
|
catch(int e)
|
||||||
|
Loading…
Reference in New Issue
Block a user