Update docs and fix bugs (#149)
Improved the docs for the 3 main Tactility projects. I also fixed some inaccuracies and bugs in certain APIs as I went through the code.
This commit is contained in:
committed by
GitHub
parent
ff4287e2ce
commit
415096c3b2
@@ -44,7 +44,7 @@ Mutex::~Mutex() {
|
||||
semaphore = nullptr; // If the mutex is used after release, this might help debugging
|
||||
}
|
||||
|
||||
TtStatus Mutex::acquire(uint32_t timeout) const {
|
||||
TtStatus Mutex::acquire(TickType_t timeout) const {
|
||||
tt_assert(!TT_IS_IRQ_MODE());
|
||||
tt_assert(semaphore);
|
||||
|
||||
@@ -114,7 +114,7 @@ void tt_mutex_free(Mutex* mutex) {
|
||||
delete mutex;
|
||||
}
|
||||
|
||||
TtStatus tt_mutex_acquire(Mutex* mutex, uint32_t timeout) {
|
||||
TtStatus tt_mutex_acquire(Mutex* mutex, TickType_t timeout) {
|
||||
return mutex-> acquire(timeout);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user