chang a macro name

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2456 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
sc943313837@gmail.com 2012-11-28 06:55:06 +00:00
parent c109eb700c
commit 995ebf7299
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@
#define RT_ALARM_MONTHLY 0x400 /* alarm monthly at someday */ #define RT_ALARM_MONTHLY 0x400 /* alarm monthly at someday */
#define RT_ALARM_YAERLY 0x800 /* alarm yearly at a certain date */ #define RT_ALARM_YAERLY 0x800 /* alarm yearly at a certain date */
#define RT_ALARM_MODIFY 1 /* modify alarm time or alarm flag */ /* alarm control cmd */
#define RT_ALARM_CTRL_MODIFY 1 /* modify alarm time or alarm flag */
typedef struct rt_alarm *rt_alarm_t; typedef struct rt_alarm *rt_alarm_t;
typedef void (*rt_alarm_callback_t)(rt_alarm_t alarm, time_t timestamp); typedef void (*rt_alarm_callback_t)(rt_alarm_t alarm, time_t timestamp);