diff options
author | Damien George <damien.p.george@gmail.com> | 2015-06-07 23:48:07 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-06-07 23:48:07 +0100 |
commit | 0aa5e7500047d869cc78e8914fc08b5d6a3f5994 (patch) | |
tree | 856b0341a8cfed034860418e3d89fcaab710df8f /py/stackctrl.h | |
parent | 491c321720c772ee548f9e6f1612638ae8bce154 (diff) | |
download | micropython-0aa5e7500047d869cc78e8914fc08b5d6a3f5994.tar.gz micropython-0aa5e7500047d869cc78e8914fc08b5d6a3f5994.zip |
stmhal: Break immediately from USB CDC busy wait loop if IRQs disabled.
If IRQs are disabled then the USB CDC buffer will never be
drained/filled and the sys-tick timer will never increase, so we should
not busy wait in this case.
Diffstat (limited to 'py/stackctrl.h')
0 files changed, 0 insertions, 0 deletions