summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-11-28 06:55:30 +0000
committer[email protected] <[email protected]>2012-11-28 06:55:30 +0000
commit0f72824edaa18763738ba9064cd298cadcf251f8 (patch)
treed1398f1af92b1543ef9c366a96c98804f89d0376 /components/drivers
parent995ebf7299e7f17ff6828348218dd733148b78a6 (diff)
chang a macro name
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2457 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/rtc/alarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/rtc/alarm.c b/components/drivers/rtc/alarm.c
index 41b883b2de..8f18fbb107 100644
--- a/components/drivers/rtc/alarm.c
+++ b/components/drivers/rtc/alarm.c
@@ -395,7 +395,7 @@ rt_err_t rt_alarm_control(rt_alarm_t alarm, rt_uint8_t cmd, void *arg)
rt_mutex_take(&_container.mutex, RT_WAITING_FOREVER);
switch (cmd)
{
- case RT_ALARM_MODIFY:
+ case RT_ALARM_CTRL_MODIFY:
{
struct rt_alarm_setup *setup;