Fixed breaking bug in printable

This commit is contained in:
dario 2024-03-15 17:19:26 +01:00 committed by CarlWachter
parent 40b71e2d68
commit 24ba37ddfd

View File

@ -19,7 +19,9 @@ namespace sta
void PrintableUART::print(const char * str, size_t length) void PrintableUART::print(const char * str, size_t length)
{ {
intf_->acquire();
intf_->transfer(reinterpret_cast<const uint8_t *>(str), length); intf_->transfer(reinterpret_cast<const uint8_t *>(str), length);
intf_->release();
} }
} // namespace sta } // namespace sta