add barrier countdownlatch completion macro define to config
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
__CDECLS_BEGIN
|
||||
|
||||
#if TOS_CFG_COUNTDOWNLATCH_EN > 0
|
||||
typedef struct k_countdownlatch_st {
|
||||
#if TOS_CFG_OBJECT_VERIFY_EN > 0u
|
||||
knl_obj_t knl_obj;
|
||||
@@ -115,6 +116,8 @@ __API__ k_err_t tos_countdownlatch_post(k_countdownlatch_t *countdownlatch);
|
||||
*/
|
||||
__API__ k_err_t tos_countdownlatch_reset(k_countdownlatch_t *countdownlatch, k_countdownlatch_cnt_t count);
|
||||
|
||||
#endif /* TOS_CFG_COUNTDOWNLATCH_EN */
|
||||
|
||||
__CDECLS_END
|
||||
|
||||
#endif /* _TOS_COUNTDOWNLATCH_H_ */
|
||||
|
Reference in New Issue
Block a user