altos/avr: Use ISR_BLOCK to disable interrupts during slave ISR
authorKeith Packard <keithp@keithp.com>
Wed, 17 Oct 2012 04:08:58 +0000 (21:08 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 17 Oct 2012 04:08:58 +0000 (21:08 -0700)
commit4d6d90e15db30991bf81060a0876ae8adb843c75
tree944cfef3d894878de633ede058d4b930e12e61e1
parentb8d8b23ca5e6c2d3a19f8aeda2764b43d25eb9d6
altos/avr: Use ISR_BLOCK to disable interrupts during slave ISR

This avoids enabling and then immediatly disabling them

Signed-off-by: Keith Packard <keithp@keithp.com>
src/avr/ao_spi_slave.c