diff options
| author | Sean Cross <sean@xobs.io> | 2020-05-08 12:38:23 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2020-05-21 21:43:52 +0800 |
| commit | 77cf4dce8f1ae03edbe275cb82e250daeba8990f (patch) | |
| tree | 854f2aebbee164f045d57814ffe4f1d168811ea1 /docs/static | |
| parent | d1a7fdd9d4720c43d0ab9f16267fd124a414ce9d (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 'docs/static')
0 files changed, 0 insertions, 0 deletions
