Commit 4c41dec
committed
Bootloader: fixed blocking read from USB-CDC
For some reason the blocking read from the original USB-CDC driver
is not reliable. As a workaround it has been reimplemented using a
polling loop with the non-blocking read function that, instead, is
much more reliable.
Eventually the USB_Read_blocking(..) in cdc_enumerate.c will be fixed
in the future.1 parent 3a1c454 commit 4c41dec
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
753 | | - | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
754 | 765 | | |
Binary file not shown.
0 commit comments