summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorarmink <[email protected]>2021-09-29 17:52:10 +0800
committerarmink <[email protected]>2021-09-29 17:52:10 +0800
commit816a99d88e5f42ceb846f587235281a1a1414750 (patch)
treed10fa77b442e59fffd8916bc1b750d97ad97ffde /components/drivers/include
parenta4619732dfb3789a1ea9107d47629fe5025fd02c (diff)
[DeviceDriver][RTC] Add RT_DEVICE_CTRL_RTC_GET_TIMEVAL and RT_DEVICE_CTRL_RTC_SET_TIMEVAL ops
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/rtc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/include/drivers/rtc.h b/components/drivers/include/drivers/rtc.h
index f8702a2e99..5b333161f8 100644
--- a/components/drivers/include/drivers/rtc.h
+++ b/components/drivers/include/drivers/rtc.h
@@ -29,8 +29,8 @@ struct rt_rtc_ops
rt_err_t (*set_secs)(void *arg);
rt_err_t (*get_alarm)(void *arg);
rt_err_t (*set_alarm)(void *arg);
- rt_err_t (*get_usecs)(void *arg);
- rt_err_t (*set_usecs)(void *arg);
+ rt_err_t (*get_timeval)(void *arg);
+ rt_err_t (*set_timeval)(void *arg);
};
typedef struct rt_rtc_device