Fix communication with devices

This commit is contained in:
Phillip Stephens 2016-02-18 06:25:47 -08:00
parent 53fec8ac43
commit 5b552cdc5d
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class HIDDeviceUdev final : public IHIDDevice
{
usbdevfs_bulktransfer xfer =
{
m_usbIntfOutPipe | USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE,
m_usbIntfOutPipe | USB_DIR_OUT,
(unsigned)length,
30,
(void*)data

View File

@ -49,7 +49,7 @@ class HIDListenerUdev final : public IHIDListener
int vid = 0, pid = 0;
udev_list_entry* attrs = udev_device_get_properties_list_entry(device);
#if 0
#if 1
udev_list_entry* att = nullptr;
udev_list_entry_foreach(att, attrs)
{