summaryrefslogtreecommitdiffstatshomepage
path: root/py/stackctrl.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-06-07 23:48:07 +0100
committerDamien George <damien.p.george@gmail.com>2015-06-07 23:48:07 +0100
commit0aa5e7500047d869cc78e8914fc08b5d6a3f5994 (patch)
tree856b0341a8cfed034860418e3d89fcaab710df8f /py/stackctrl.h
parent491c321720c772ee548f9e6f1612638ae8bce154 (diff)
downloadmicropython-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