Data loss when sending to native USB port (SerialUSB)

cmaglie:
It works great for me!

Fixed SerialUSB data handshake when host sends a lot of data (PeterVH, stimmer) by cmaglie · Pull Request #1255 · arduino/Arduino · GitHub

I'll merge this before the coming release 1.5.2.

Thank you guys!

I've been testing this code - no errors in 250Mbytes of data so far :smiley:

Update: No errors in 500Mbytes of data in ~ 1 hour :grin:

Update 2: All 888888888 bytes transferred in 1h48m24s, no errors 8)