Fixed warnings about ISO C90, and fixed a duplicate usb_submit_urb call