add barrier countdownlatch completion macro define to config

This commit is contained in:
mculover666
2020-12-28 20:03:50 +08:00
parent 25e06a677b
commit 0d9300e65b
6 changed files with 20 additions and 0 deletions

View File

@@ -20,6 +20,8 @@
__CDECLS_BEGIN
#if TOS_CFG_COMPLETION_EN > 0
typedef uint16_t completion_done_t;
typedef struct k_completion_st {
@@ -146,6 +148,8 @@ __API__ k_err_t tos_completion_reset(k_completion_t *completion);
*/
__API__ int tos_completion_is_done(k_completion_t *completion);
#endif /* TOS_CFG_COMPLETION_EN */
__CDECLS_END
#endif /* _TOS_COMPLETION_H_ */