arm: builds for embedded
This commit is contained in:
parent
f274749050
commit
3c21dbfba3
@ -1,3 +1,4 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
#include <coroutine>
|
#include <coroutine>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user