Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/include/f1x/aasdk/USB/IUSBWrapper.hpp b/include/f1x/aasdk/USB/IUSBWrapper.hpp
- index c941b0f..8c1e75a 100644
- --- a/include/f1x/aasdk/USB/IUSBWrapper.hpp
- +++ b/include/f1x/aasdk/USB/IUSBWrapper.hpp
- @@ -73,7 +73,7 @@ public:
- uint16_t wLength) = 0;
- virtual int getDeviceDescriptor(libusb_device *dev, libusb_device_descriptor &desc) = 0;
- virtual void handleEvents() = 0;
- - virtual HotplugCallbackHandle hotplugRegisterCallback(libusb_hotplug_event events, libusb_hotplug_flag flags, int vendor_id, int product_id, int dev_class,
- + virtual HotplugCallbackHandle hotplugRegisterCallback(libusb_hotplug_event events, int flags, int vendor_id, int product_id, int dev_class,
- libusb_hotplug_callback_fn cb_fn, void *user_data) = 0;
- virtual libusb_transfer* allocTransfer(int iso_packets) = 0;
- };
- diff --git a/include/f1x/aasdk/USB/USBWrapper.hpp b/include/f1x/aasdk/USB/USBWrapper.hpp
- index 7a4074c..4801d56 100644
- --- a/include/f1x/aasdk/USB/USBWrapper.hpp
- +++ b/include/f1x/aasdk/USB/USBWrapper.hpp
- @@ -64,7 +64,7 @@ public:
- uint16_t wLength) override;
- int getDeviceDescriptor(libusb_device *dev, libusb_device_descriptor &desc) override;
- void handleEvents() override;
- - HotplugCallbackHandle hotplugRegisterCallback(libusb_hotplug_event events, libusb_hotplug_flag flags, int vendor_id, int product_id, int dev_class,
- + HotplugCallbackHandle hotplugRegisterCallback(libusb_hotplug_event events, int flags, int vendor_id, int product_id, int dev_class,
- libusb_hotplug_callback_fn cb_fn, void *user_data) override;
- libusb_transfer* allocTransfer(int iso_packets) override;
- diff --git a/src/USB/USBWrapper.cpp b/src/USB/USBWrapper.cpp
- index b251ec2..baee34f 100644
- --- a/src/USB/USBWrapper.cpp
- +++ b/src/USB/USBWrapper.cpp
- @@ -153,7 +153,7 @@ void USBWrapper::handleEvents()
- libusb_handle_events(usbContext_);
- }
- -HotplugCallbackHandle USBWrapper::hotplugRegisterCallback(libusb_hotplug_event events, libusb_hotplug_flag flags, int vendor_id, int product_id, int dev_class,
- +HotplugCallbackHandle USBWrapper::hotplugRegisterCallback(libusb_hotplug_event events, int flags, int vendor_id, int product_id, int dev_class,
- libusb_hotplug_callback_fn cb_fn, void *user_data)
- {
- libusb_hotplug_callback_handle raw_handle;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement