From 61b92f5faaa358f35899415e9f24b9d2fcc5e152 Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Sun, 19 Jun 2022 09:46:04 +0200 Subject: [PATCH] arm: bool idle function return (fixup) --- arm/async.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm/async.h b/arm/async.h index 589380e..a5b80c4 100644 --- a/arm/async.h +++ b/arm/async.h @@ -205,7 +205,7 @@ void schedule(std::coroutine_handle<> h, int ms = 0); void enqueue(std::coroutine_handle<> h, AwaitableType type); void resume(AwaitableType type); // typically called from an ISR -void main_loop(void (*idle_function)()); +void main_loop(bool (*idle_function)()); inline auto await(AwaitableType type) { struct awaitable {