diff --git a/src/common/define_plus.h b/src/common/define_plus.h index 3e771d765ceb02f02ae4b930d34afb5ec13593a6..09e12af584d3825d8d5edfee45851c3b55805552 100644 --- a/src/common/define_plus.h +++ b/src/common/define_plus.h @@ -136,7 +136,7 @@ struct HostUSBEndpoint { struct HdcUSB { #ifdef HDC_HOST libusb_context *ctxUSB = nullptr; // child-use, main null - libusb_device *device; + libusb_device *device = nullptr; libusb_device_handle *devHandle = nullptr; uint16_t retryCount; uint8_t devId;