Fix build error on alios platform (#1459)

Add the definition of `korp_sem` in platform_internal.h.
This commit is contained in:
Wenyong Huang 2022-09-07 13:50:11 +08:00 committed by GitHub
parent 5722fcc40a
commit 8a2c1a2471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ typedef aos_task_t korp_thread;
typedef korp_thread *korp_tid; typedef korp_thread *korp_tid;
typedef aos_task_t *aos_tid_t; typedef aos_task_t *aos_tid_t;
typedef aos_mutex_t korp_mutex; typedef aos_mutex_t korp_mutex;
typedef aos_sem_t korp_sem;
struct os_thread_wait_node; struct os_thread_wait_node;
typedef struct os_thread_wait_node *os_thread_wait_list; typedef struct os_thread_wait_node *os_thread_wait_list;