Don't disable interrupts before saving interrupt flag on AVR
authorKeith Packard <keithp@keithp.com>
Mon, 19 Mar 2012 18:24:43 +0000 (11:24 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 29 Mar 2012 04:37:03 +0000 (21:37 -0700)
commit6a14bee42a8431c909bcd74b0acec57329bc0284
tree1042d509ed2303bf07b50fd69327d759e2539b95
parent7662a0096a860cddac413a310305fe842830c3b5
Don't disable interrupts before saving interrupt flag on AVR

This ignores the interrupt disabled state, so we'd always leave
ao_yield with interrupts disabled.

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