TactilitySDK updates (#442)

- Removed custom `TickType`
- Removed TactilityC functionality that is now covered by TactilityFreeRtos
This commit is contained in:
Ken Van Hoeylandt
2026-01-03 22:00:31 +01:00
committed by GitHub
parent 524b197105
commit 812c2901db
18 changed files with 17 additions and 649 deletions
+2 -9
View File
@@ -1,7 +1,7 @@
#pragma once
#include "tt_kernel.h"
#include <stdbool.h>
#include <freertos/FreeRTOS.h>
#ifdef __cplusplus
extern "C" {
@@ -15,13 +15,6 @@ typedef enum {
MutexTypeRecursive
} TtMutexType;
/**
* Allocate a new mutex instance
* @param[in] type specify if the mutex is either a normal one, or whether it can recursively (re)lock
* @return the allocated lock handle
*/
LockHandle tt_lock_alloc_mutex(TtMutexType type);
/**
* Allocate a lock for a file or folder.
* Locking is required before reading files for filesystems that are on a shared bus (e.g. SPI SD card sharing the bus with the display)
@@ -36,7 +29,7 @@ LockHandle tt_lock_alloc_for_path(const char* path);
* @param[in] timeout the maximum amount of ticks to wait when trying to lock
* @return true when the lock was acquired
*/
bool tt_lock_acquire(LockHandle handle, TickType timeout);
bool tt_lock_acquire(LockHandle handle, TickType_t timeout);
/**
* Attempt to unlock the lock.