aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/irq.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-05-07 00:09:11 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-05-15 15:00:45 -0400
commit969ee4c8f9a3080bc20b6a78e846bee8c9455dec (patch)
treea73e76d0d9a829be0c315727f44e4ba6d6781c06 /src/avr/irq.h
parentc35278e217fb45e1001845c33ffd1c947599b40c (diff)
downloadkutter-969ee4c8f9a3080bc20b6a78e846bee8c9455dec.tar.gz
kutter-969ee4c8f9a3080bc20b6a78e846bee8c9455dec.tar.xz
kutter-969ee4c8f9a3080bc20b6a78e846bee8c9455dec.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'src/avr/irq.h')
-rw-r--r--src/avr/irq.h3
1 files changed, 3 insertions, 0 deletions
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