arm: builds for embedded

This commit is contained in:
Paul Mathieu 2023-06-03 15:44:28 +09:00
parent f274749050
commit 3c21dbfba3
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#pragma once
#include <coroutine> #include <coroutine>
#include <chrono> #include <chrono>

View File

@ -49,7 +49,7 @@ async::task<> echo() {
uint8_t c = co_await reader; uint8_t c = co_await reader;
ClearLed(1); ClearLed(1);
ToggleLed(2); ToggleLed(2);
co_await feeder.feed(std::as_bytes(std::span{&c, 1})); feeder.feed(std::as_bytes(std::span{&c, 1}));
} }
} }
#else #else