Read my last post again.the NULL parameter is the user_data param i thougnt since i didnt have anything i wanted to send with it i just used NULL.
As you can see, my prediction was correct, and the parameter was user data.
You should change the call back function to take the user data parameter too, and then you can pass your Usb class pointer to it, and call the Usb object methods in it.
Bookmarks