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/command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index 915bbd42..44de070d 100644 --- a/src/command.c +++ b/src/command.c @@ -7,6 +7,7 @@ #include // va_start #include // memcpy #include "board/io.h" // readb +#include "board/irq.h" // irq_poll #include "board/misc.h" // crc16_ccitt #include "board/pgm.h" // READP #include "command.h" // output_P @@ -306,6 +307,7 @@ command_task(void) p = parsef(p, msgend, cp, args); if (!p) break; + irq_poll(); void (*func)(uint32_t*) = READP(cp->func); func(args); } -- cgit v1.2.3-70-g09d2