diff options
author | Manuel Odendahl <wesen@ruinwesen.com> | 2012-11-08 20:51:00 +0100 |
---|---|---|
committer | Manuel Odendahl <wesen@ruinwesen.com> | 2012-11-08 20:53:32 +0100 |
commit | e55a83611d77d5a01c871b6be78b76eccc8d140b (patch) | |
tree | 01f678e20cda673932e2438e42e3b3f8911956e7 /libmaple/usb/usb_lib/usb_init.h | |
parent | 8919d01f52e02901940502e956cd5a88994072b0 (diff) | |
download | librambutan-e55a83611d77d5a01c871b6be78b76eccc8d140b.tar.gz librambutan-e55a83611d77d5a01c871b6be78b76eccc8d140b.zip |
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 <wesen@ruinwesen.com>
Diffstat (limited to 'libmaple/usb/usb_lib/usb_init.h')
0 files changed, 0 insertions, 0 deletions