rtc/rpmsg: Add sync parameter to control whether call clock_synchronize

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-01-15 14:29:47 +08:00
committed by Petro Karashchenko
parent 6121f15d51
commit 41b9cf3cd8
4 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -42,11 +42,11 @@ extern "C"
#ifdef CONFIG_RTC_ARCH
void up_rtc_set_lowerhalf(FAR struct rtc_lowerhalf_s *lower);
void up_rtc_set_lowerhalf(FAR struct rtc_lowerhalf_s *lower, bool sync);
#else
# define up_rtc_set_lowerhalf(lower)
# define up_rtc_set_lowerhalf(lower, sync)
#endif /* CONFIG_RTC_ARCH */