summaryrefslogtreecommitdiff
path: root/extmod
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2020-05-08 12:38:23 +0800
committerSean Cross <sean@xobs.io>2020-05-21 21:43:52 +0800
commit77cf4dce8f1ae03edbe275cb82e250daeba8990f (patch)
tree854f2aebbee164f045d57814ffe4f1d168811ea1 /extmod
parentd1a7fdd9d4720c43d0ab9f16267fd124a414ce9d (diff)
nrf: disable interrupts before running wfi
In order to ensure we don't have any outstanding requests, disable interrupts prior to issuing `WFI`. As part of this process, check to see if there are any pending USB requests, and only execute the `WFI` if there is no pending data. This fixes #2855 on NRF. Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'extmod')
0 files changed, 0 insertions, 0 deletions