It makes it clear from debug logs, that values are in hex,
without a need to check the source code.
Closes #832
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
int API_EXPORTED libusb_clear_halt(libusb_device_handle *dev_handle,
unsigned char endpoint)
{
- usbi_dbg("endpoint %x", endpoint);
+ usbi_dbg("endpoint 0x%x", endpoint);
if (!usbi_atomic_load(&dev_handle->dev->attached))
return LIBUSB_ERROR_NO_DEVICE;
dpriv = usbi_get_device_priv(transfer->dev_handle->dev);
setup = (struct libusb_control_setup *)transfer->buffer;
- usbi_dbg("type %x request %x value %x index %d length %d timeout %d",
+ usbi_dbg("type 0x%x request 0x%x value 0x%x index %d length %d timeout %d",
setup->bmRequestType, setup->bRequest,
libusb_le16_to_cpu(setup->wValue),
libusb_le16_to_cpu(setup->wIndex),
-#define LIBUSB_NANO 11593
+#define LIBUSB_NANO 11594