aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/avr/irq.h')
-rw-r--r--src/avr/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/avr/irq.h b/src/avr/irq.h
index 349c4c43..63a1018b 100644
--- a/src/avr/irq.h
+++ b/src/avr/irq.h
@@ -29,7 +29,7 @@ static inline void irq_restore(irqstatus_t flag) {
}
static inline void irq_wait(void) {
- asm("sei\n sleep\n cli" : : : "memory");
+ asm("sei\n nop\n cli" : : : "memory");
}
static inline void irq_poll(void) {