fix: correct spelling

correct some typos in los_swtmr.c It_los_queue_head_019.c

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3PYLH
This commit is contained in:
rtos-lover
2021-05-08 10:30:25 +08:00
parent 167b4d0c37
commit dd5cefb0da
2 changed files with 13 additions and 13 deletions

View File

@@ -47,7 +47,7 @@ static UINT32 Testcase(VOID)
ret = LOS_QueueRead(g_testQueueID01, &buff2, QUEUE_BASE_MSGSIZE, 0);
ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT);
for (index = 0; index < 7; index++) { // 7, buffer szie
for (index = 0; index < 7; index++) { // 7, buffer size
ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + index), buff1[index],
*((char *)(intptr_t)buff2 + index), EXIT);
}