Remove lock from enable_* function overrides

pull/14175/head
Harrison Mutai 2021-01-21 11:09:50 +00:00
parent 0214a156e7
commit 619ca54735
1 changed files with 0 additions and 4 deletions

View File

@ -101,18 +101,14 @@ short UnbufferedSerial::poll(short events) const
int UnbufferedSerial::enable_input(bool enabled)
{
lock();
SerialBase::enable_input(enabled);
unlock();
return 0;
}
int UnbufferedSerial::enable_output(bool enabled)
{
lock();
SerialBase::enable_output(enabled);
unlock();
return 0;
}