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

Merge pull request !130 from Zhaotianyu/0406limits
This commit is contained in:
openharmony_ci 2021-04-09 17:17:55 +08:00 committed by Gitee
commit c5233a5b9f
2 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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.