Merge pull request #1310 from liu2guang/master

[BSP] delete rtc driver error message. | 删除RTC驱动的错误信息.
This commit is contained in:
Tanek 2018-03-23 14:27:23 +08:00 committed by GitHub
commit e8ee150d1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -61,7 +61,6 @@ static int set_timestamp(time_t timestamp)
return RT_EOK;
}
/* 驱动接口 */
static rt_err_t rt1052_hp_rtc_init(rt_device_t dev)
{
snvs_hp_rtc_config_t snvsRtcConfig;
@ -112,7 +111,6 @@ static rt_err_t rt1052_hp_rtc_control(rt_device_t dev, int cmd, void *args)
}
break;
/* 无效参数 */
default:
return RT_EINVAL;
}