Added waiting until serial was initialized

This commit is contained in:
dario 2024-05-15 13:06:57 +02:00
parent a12593051e
commit c594536e44

View File

@ -12,6 +12,7 @@ namespace sta
mutex_{mutex}
{
Serial.begin(baud);
while (!Serial);
}
void PrintableSerial::print(const char * str, size_t length)