diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-11-08 12:42:50 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-11-08 12:42:50 -0800 |
| commit | 971bd7e9a6e38d7bae26872c1a055b45321179e0 (patch) | |
| tree | 03736cf7da923620b099bd30c5101573d236f916 /py | |
| parent | 7a901cfccdcf18fa6f40c4791311b19bdf37a527 (diff) | |
atmel-samd: Improve MSC reliability.
* Be more liberal with critical sections to ensure ordering.
* Correct usb_busy so that it is busy when no errors occur on
transfer. I believe it worked before because it would be false
momentarily until a second transfer was attempted and a busy
error was returned, therefore setting usb_busy to true. That
risks the first "failed" transfer completing before a second one
is attempted.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions
