summaryrefslogtreecommitdiff
path: root/components/drivers/rtc
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-03-08 18:19:04 +0800
committerMeco Man <[email protected]>2021-03-08 18:19:04 +0800
commit3c05a4e7193ee553bf502560e7de4be6489c7629 (patch)
tree69771215353ad4697e7c12a969f9bada32129265 /components/drivers/rtc
parentce86058201432e865b8d7c4096b3675642a43a42 (diff)
[compoenets] auto & manual formatted
Diffstat (limited to 'components/drivers/rtc')
-rw-r--r--components/drivers/rtc/alarm.c2
-rw-r--r--components/drivers/rtc/rtc.c4
-rw-r--r--components/drivers/rtc/soft_rtc.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/components/drivers/rtc/alarm.c b/components/drivers/rtc/alarm.c
index d8e4e468a7..cd0a976328 100644
--- a/components/drivers/rtc/alarm.c
+++ b/components/drivers/rtc/alarm.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/components/drivers/rtc/rtc.c b/components/drivers/rtc/rtc.c
index ef688ac3cd..98b60f9f95 100644
--- a/components/drivers/rtc/rtc.c
+++ b/components/drivers/rtc/rtc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -164,7 +164,7 @@ int rt_rtc_ntp_sync_init(void)
}
init_ok = RT_TRUE;
-
+
return RT_EOK;
}
INIT_COMPONENT_EXPORT(rt_rtc_ntp_sync_init);
diff --git a/components/drivers/rtc/soft_rtc.c b/components/drivers/rtc/soft_rtc.c
index 240301f683..9e1b7c35fd 100644
--- a/components/drivers/rtc/soft_rtc.c
+++ b/components/drivers/rtc/soft_rtc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -93,7 +93,7 @@ static rt_err_t soft_rtc_control(rt_device_t dev, int cmd, void *args)
}
#ifdef RT_USING_DEVICE_OPS
-const static struct rt_device_ops soft_rtc_ops =
+const static struct rt_device_ops soft_rtc_ops =
{
RT_NULL,
RT_NULL,