diff options
author | Keith Packard <keithp@keithp.com> | 2013-06-21 19:40:59 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-06-22 00:49:59 -0700 |
commit | 58eda6f873f5d6e8e219f769bdf67ce4dbc96fd7 (patch) | |
tree | 9c603eb0411441d455c3c97b6fe4458a296a669e /src/lpc/ao_interrupt.c | |
parent | 9081d881bc48bf7fdce617d300ac02c1a5962239 (diff) |
altos/lpc: Don't disable all interrupts when disabling one interrupt
The nvic iser and icer registers read value indicates all enabled
interrupts, icer writes disable the set interrupts. Re-writing icer
with the current value ends up disabling all interrupts, not exactly
what we wanted.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc/ao_interrupt.c')
0 files changed, 0 insertions, 0 deletions