mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-12 01:25:59 +00:00
Added waiting until serial was initialized
This commit is contained in:
parent
a12593051e
commit
c594536e44
@ -12,6 +12,7 @@ namespace sta
|
|||||||
mutex_{mutex}
|
mutex_{mutex}
|
||||||
{
|
{
|
||||||
Serial.begin(baud);
|
Serial.begin(baud);
|
||||||
|
while (!Serial);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PrintableSerial::print(const char * str, size_t length)
|
void PrintableSerial::print(const char * str, size_t length)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user