[core] 使用rt_memcpy rt_memset代替memcpy memset

This commit is contained in:
Meco Man
2022-01-09 00:23:18 +08:00
committed by Bernard Xiong
parent bb1084556f
commit f89a162ea3
25 changed files with 86 additions and 86 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ static rt_err_t soft_rtc_control(rt_device_t dev, int cmd, void *args)
struct tm time_temp;
RT_ASSERT(dev != RT_NULL);
memset(&time_temp, 0, sizeof(struct tm));
rt_memset(&time_temp, 0, sizeof(struct tm));
switch (cmd)
{