mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-10 00:07:54 -06:00
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>
This commit is contained in:
parent
c35278e217
commit
969ee4c8f9
6 changed files with 17 additions and 0 deletions
|
@ -268,6 +268,7 @@ run_task(void)
|
|||
{
|
||||
struct callback_handler *p;
|
||||
foreachdecl(p, taskfuncs) {
|
||||
irq_poll();
|
||||
void (*func)(void) = READP(p->func);
|
||||
func();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue