From 969ee4c8f9a3080bc20b6a78e846bee8c9455dec Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 7 May 2017 00:09:11 -0400 Subject: irq: Add an irq_poll() stub for board code Allow the board specific code to run checks prior to running each task. Signed-off-by: Kevin O'Connor --- src/avr/irq.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/avr/irq.h') diff --git a/src/avr/irq.h b/src/avr/irq.h index f586273a..33172c0f 100644 --- a/src/avr/irq.h +++ b/src/avr/irq.h @@ -28,4 +28,7 @@ static inline void irq_restore(irqstatus_t flag) { SREG = flag; } +static inline void irq_poll(void) { +} + #endif // irq.h -- cgit v1.2.3-70-g09d2