leaflabs/libmaple — pull request #59 by wesen (2012-11-08 19:58:17+00:00)
Title: usb_cdcacm.c: reenable the endpoint if an empty bulk transfer was received.

usb_cdcacm.c: reenable the endpoint if an empty bulk transfer was received.

It is possible to receive empty bulk transfers. This would lead to the endpoint never being reenabled as this was handled by the read routine. This caused the USB to hang.

Signed-off-by: Manuel Odendahl