chore: replace YES/NO macros to 1/0

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I40e31e82c33418019c1afc16ac174919e72fbb07
This commit is contained in:
Caoruihong
2021-11-16 01:27:06 +08:00
parent 07cab40473
commit bba832ea08
20 changed files with 53 additions and 73 deletions

View File

@@ -42,7 +42,7 @@
#endif
#define SYSINFO_ENABLED(x) (((x) == YES) ? "YES" : "NO")
#define SYSINFO_ENABLED(x) (((x) == TRUE) ? "YES" : "NO")
UINT32 OsShellCmdTaskCntGet(VOID)
{
UINT32 loop;
@@ -118,21 +118,21 @@ UINT32 OsShellCmdSwtmrCntGet(VOID)
LITE_OS_SEC_TEXT_MINOR VOID OsShellCmdSystemInfoGet(VOID)
{
UINT8 isTaskEnable = YES;
UINT8 isTaskEnable = TRUE;
#ifdef LOSCFG_BASE_IPC_SEM
UINT8 isSemEnable = YES;
UINT8 isSemEnable = TRUE;
#else
UINT8 isSemEnable = NO;
UINT8 isSemEnable = FALSE;
#endif
#ifdef LOSCFG_BASE_IPC_QUEUE
UINT8 isQueueEnable = YES;
UINT8 isQueueEnable = TRUE;
#else
UINT8 isQueueEnable = NO;
UINT8 isQueueEnable = FALSE;
#endif
#ifdef LOSCFG_BASE_CORE_SWTMR_ENABLE
UINT8 isSwtmrEnable = YES;
UINT8 isSwtmrEnable = TRUE;
#else
UINT8 isSwtmrEnable = NO;
UINT8 isSwtmrEnable = FALSE;
#endif
PRINTK("\n Module Used Total Enabled\n");