Lockable renamed to Lock (#219)

Also changed usage from unique_ptr to class value.
This commit is contained in:
Ken Van Hoeylandt
2025-02-12 22:28:22 +01:00
committed by GitHub
parent 2e86d4774b
commit 55bfb9fe3b
40 changed files with 257 additions and 263 deletions
@@ -3,7 +3,7 @@
#include <Tactility/RtosCompat.h>
#include "../Gpio.h"
#include "Tactility/Lockable.h"
#include "Tactility/Lock.h"
#include "UartCompat.h"
#include <memory>
@@ -59,7 +59,7 @@ bool stop(uart_port_t port);
bool isStarted(uart_port_t port);
/** @return a lock that is usable for using ESP-IDF directly, or for use with third party APIs */
Lockable& getLock(uart_port_t port);
Lock& getLock(uart_port_t port);
/**
* Read up to a specified amount of bytes