diff options
author | Keith Packard <keithp@keithp.com> | 2012-10-25 11:25:42 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-10-25 11:25:42 -0700 |
commit | f221c78e6237e0a118ebe85c25e433fe16a7735d (patch) | |
tree | 52e5e0dd555b3b0e5eef86e5f3d879304b4d9594 /src/core | |
parent | 963f7715be6c67056bbd8bbe898639adac64fc29 (diff) |
altos: Switch drivers to ao_arch_block/release_interrupts
Stop using cli/sei, which are avr-specific
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ao_ignite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ao_ignite.c b/src/core/ao_ignite.c index 693b7c7a..74bd0c5a 100644 --- a/src/core/ao_ignite.c +++ b/src/core/ao_ignite.c @@ -23,10 +23,10 @@ __xdata struct ao_ignition ao_ignition[2]; void ao_ignite(enum ao_igniter igniter) { - cli(); + ao_arch_block_interrupts(); ao_ignition[igniter].request = 1; ao_wakeup(&ao_ignition); - sei(); + ao_arch_release_interrupts(); } #ifndef AO_SENSE_DROGUE |