Potential fix for 0-length usb packets seen on OSX

This commit is contained in:
Martin Holst Swende 2015-07-17 00:01:58 +02:00
commit 83f3f8ac40
3 changed files with 18 additions and 5 deletions

View file

@ -41,6 +41,7 @@ void usb_disable();
void usb_enable();
bool usb_check();
bool usb_poll();
bool usb_poll_validate_length();
uint32_t usb_read(byte_t* data, size_t len);
uint32_t usb_write(const byte_t* data, const size_t len);