Initial commit: CCU621_M firmware project with BLE debug link support.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#ifndef TASK_LOCK_H
|
||||
#define TASK_LOCK_H
|
||||
|
||||
#include "app_init/app_init.h"
|
||||
#include "semphr.h"
|
||||
|
||||
typedef enum
|
||||
{
|
||||
TASK_LOCK_OP_INIT = 0,
|
||||
TASK_LOCK_OP_TAKE,
|
||||
TASK_LOCK_OP_GIVE,
|
||||
TASK_LOCK_OP_DELETE
|
||||
} TASK_LOCK_OP_E;
|
||||
|
||||
uint8_t u8_task_lock_ctrl(TASK_ID task_id, TASK_LOCK_OP_E op);
|
||||
uint8_t u8_task_lock_handle_ctrl(SemaphoreHandle_t *p_handle, TASK_LOCK_OP_E op);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user