someone42 / hardware-bitcoin-wallet

A minimal Bitcoin wallet intended for embedded devices
BSD 2-Clause "Simplified" License
151 stars 44 forks source link

LPC11Uxx: Disable interrupts before WFI #21

Open someone42 opened 11 years ago

someone42 commented 11 years ago

To avoid some race conditions, interrupts should be disabled before pre-WFI preparation. Some testing is required to ensure that this doesn't halt the core.