Initial commit: TXW82x FPV v2.7.0.7-42229 SDK + project sources

This commit is contained in:
2026-07-06 11:30:13 +08:00
commit e76462eeb7
3451 changed files with 1415300 additions and 0 deletions

24
sdk/include/osal/mutex.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef _OS_MUTEX_H_
#define _OS_MUTEX_H_
#ifdef __cplusplus
extern "C" {
#endif
struct os_mutex {
uint32 magic;
void *hdl;
};
typedef struct os_mutex os_mutex_t;
int32 os_mutex_init(os_mutex_t *mutex);
int32 os_mutex_lock(os_mutex_t *mutex, int32 tmo);
int32 os_mutex_unlock(os_mutex_t *mutex);
int32 os_mutex_del(os_mutex_t *mutex);
void *os_mutex_owner(os_mutex_t *mutex);
#ifdef __cplusplus
}
#endif
#endif