!130 修复limits.h,调整宏定义位置
Merge pull request !130 from Zhaotianyu/0406limits
This commit is contained in:
commit
c5233a5b9f
|
@ -249,6 +249,12 @@ extern UINT32 __heap_end;
|
||||||
#define LOSCFG_BASE_IPC_SEM_LIMIT 1024
|
#define LOSCFG_BASE_IPC_SEM_LIMIT 1024
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ingroup los_config
|
||||||
|
* Maximum number of semaphores.
|
||||||
|
*/
|
||||||
|
#define OS_SEM_COUNT_MAX 0xFFFE
|
||||||
|
|
||||||
/****************************** mutex module configuration ******************************/
|
/****************************** mutex module configuration ******************************/
|
||||||
/**
|
/**
|
||||||
* @ingroup los_config
|
* @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)
|
#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
|
* @ingroup los_sem
|
||||||
* Maximum number of binary semaphores.
|
* Maximum number of binary semaphores.
|
||||||
|
|
Loading…
Reference in New Issue