fix "redefinition of typedef 'k_task_t'"
1. remove re-typedef of k_task_st to k_task_t in tos_task.h 2. add "typedef struct k_task_st k_task_t" to tos_ktypes.h
This commit is contained in:
@@ -20,8 +20,6 @@
|
||||
|
||||
__CDECLS_BEGIN
|
||||
|
||||
typedef struct k_task_st k_task_t;
|
||||
|
||||
/**
|
||||
* The reason why we wakeup from a pend.
|
||||
* when we wakeup, we need to know why.
|
||||
|
Reference in New Issue
Block a user