arm: bool idle function return (fixup)

This commit is contained in:
Paul Mathieu 2022-06-19 09:46:04 +02:00
parent 9ae472afaf
commit 61b92f5faa

View File

@ -205,7 +205,7 @@ void schedule(std::coroutine_handle<> h, int ms = 0);
void enqueue(std::coroutine_handle<> h, AwaitableType type); void enqueue(std::coroutine_handle<> h, AwaitableType type);
void resume(AwaitableType type); // typically called from an ISR 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) { inline auto await(AwaitableType type) {
struct awaitable { struct awaitable {