Lockable renamed to Lock (#219)
Also changed usage from unique_ptr to class value.
This commit is contained in:
committed by
GitHub
parent
2e86d4774b
commit
55bfb9fe3b
@@ -180,7 +180,7 @@ bool isStarted(uart_port_t port) {
|
||||
return dataArray[port].isStarted;
|
||||
}
|
||||
|
||||
Lockable& getLock(uart_port_t port) {
|
||||
Lock& getLock(uart_port_t port) {
|
||||
return dataArray[port].mutex;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user