From 0f72824edaa18763738ba9064cd298cadcf251f8 Mon Sep 17 00:00:00 2001 From: "sc943313837@gmail.com" Date: Wed, 28 Nov 2012 06:55:30 +0000 Subject: [PATCH] chang a macro name git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2457 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/drivers/rtc/alarm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/rtc/alarm.c b/components/drivers/rtc/alarm.c index 41b883b2d..8f18fbb10 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;