Fixed breaking bug in printable

This commit is contained in:
dario 2024-03-15 17:19:26 +01:00
parent 1fc34fa574
commit 9f0defa24f

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