arm: bool idle function return (fixup)
This commit is contained in:
parent
9ae472afaf
commit
61b92f5faa
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user