diff options
| author | Meco Man <[email protected]> | 2021-12-30 19:38:20 -0500 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2022-01-09 00:23:18 +0800 |
| commit | f89a162ea3be6536c340c0010aab41cffe9bfac9 (patch) | |
| tree | 38c0c03a5c5ba348d9b657ad8e7ecb6f938ddf23 /components/utilities/utest/utest.c | |
| parent | bb1084556ff9395e6e5d908edfef9cab6f6fa4dc (diff) | |
[core] 使用rt_memcpy rt_memset代替memcpy memset
Diffstat (limited to 'components/utilities/utest/utest.c')
| -rw-r--r-- | components/utilities/utest/utest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/utilities/utest/utest.c b/components/utilities/utest/utest.c index 8c8ffd674a..21dc93100b 100644 --- a/components/utilities/utest/utest.c +++ b/components/utilities/utest/utest.c @@ -174,7 +174,7 @@ static void utest_run(const char *utest_name) tc_run_num = 0; if (tc_fail_list) { - memset(tc_fail_list, 0, TC_FAIL_LIST_SIZE); + rt_memset(tc_fail_list, 0, TC_FAIL_LIST_SIZE); } LOG_I("[==========] [ utest ] loop %d/%d", index + 1, tc_loop); |
