changed usb callback flow as per suggestions
Merge pull request #48 from tomvdb/master

changed usb callback flow