chore: fix a typo (#6154)
This commit is contained in:
parent
825b9ffbc3
commit
5b6a257c20
|
@ -20,7 +20,7 @@
|
|||
to now.we also call it "don't care" value */
|
||||
|
||||
/* alarm flags */
|
||||
#define RT_ALARM_ONESHOT 0x000 /* only alarm onece */
|
||||
#define RT_ALARM_ONESHOT 0x000 /* only alarm once */
|
||||
#define RT_ALARM_DAILY 0x100 /* alarm everyday */
|
||||
#define RT_ALARM_WEEKLY 0x200 /* alarm weekly at Monday or Friday etc. */
|
||||
#define RT_ALARM_MONTHLY 0x400 /* alarm monthly at someday */
|
||||
|
|
|
@ -718,7 +718,7 @@ struct _alarm_flag
|
|||
static const struct _alarm_flag _alarm_flag_tbl[] =
|
||||
{
|
||||
{"N", 0xffff}, /* none */
|
||||
{"O", RT_ALARM_ONESHOT}, /* only alarm onece */
|
||||
{"O", RT_ALARM_ONESHOT}, /* only alarm once */
|
||||
{"D", RT_ALARM_DAILY}, /* alarm everyday */
|
||||
{"W", RT_ALARM_WEEKLY}, /* alarm weekly at Monday or Friday etc. */
|
||||
{"Mo", RT_ALARM_MONTHLY}, /* alarm monthly at someday */
|
||||
|
|
Loading…
Reference in New Issue