提交 c5233a5b 编写于 作者: O openharmony_ci 提交者: Gitee

!130 修复limits.h,调整宏定义位置

Merge pull request !130 from Zhaotianyu/0406limits
......@@ -249,6 +249,12 @@ extern UINT32 __heap_end;
#define LOSCFG_BASE_IPC_SEM_LIMIT 1024
#endif
/**
* @ingroup los_config
* Maximum number of semaphores.
*/
#define OS_SEM_COUNT_MAX 0xFFFE
/****************************** mutex module configuration ******************************/
/**
* @ingroup los_config
......
......@@ -159,13 +159,6 @@ extern "C" {
*/
#define LOS_ERRNO_SEM_PEND_IN_SYSTEM_TASK LOS_ERRNO_OS_ERROR(LOS_MOD_SEM, 0x0A)
/**
* @ingroup los_sem
* Maximum number of semaphores.
*
*/
#define OS_SEM_COUNT_MAX 0xFFFE
/**
* @ingroup los_sem
* Maximum number of binary semaphores.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册