diff --git a/arm/async.h b/arm/async.h index 27877ad..2ae5672 100644 --- a/arm/async.h +++ b/arm/async.h @@ -1,3 +1,4 @@ +#pragma once #include #include diff --git a/arm/main.cc b/arm/main.cc index 5c23183..f7915a8 100644 --- a/arm/main.cc +++ b/arm/main.cc @@ -49,7 +49,7 @@ async::task<> echo() { uint8_t c = co_await reader; ClearLed(1); ToggleLed(2); - co_await feeder.feed(std::as_bytes(std::span{&c, 1})); + feeder.feed(std::as_bytes(std::span{&c, 1})); } } #else