Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
9b9b7214
Commit
9b9b7214
authored
8 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Rename alarm_enable to rtc_alarm_enabled; mark inline
parent
5a0f9fcb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm/src/stm32/stm32f40xxx_rtcc.c
+4
-4
4 additions, 4 deletions
arch/arm/src/stm32/stm32f40xxx_rtcc.c
arch/arm/src/stm32l4/stm32l4_rtcc.c
+4
-4
4 additions, 4 deletions
arch/arm/src/stm32l4/stm32l4_rtcc.c
with
8 additions
and
8 deletions
arch/arm/src/stm32/stm32f40xxx_rtcc.c
+
4
−
4
View file @
9b9b7214
...
...
@@ -158,7 +158,7 @@ static int rtchw_set_alrmar(rtc_alarmreg_t alarmreg);
static
int
rtchw_check_alrbwf
(
void
);
static
int
rtchw_set_alrmbr
(
rtc_alarmreg_t
alarmreg
);
#endif
static
void
alarm
_enable
(
void
);
static
inline
void
rtc
_enable
_alarm
(
void
);
#endif
/****************************************************************************
...
...
@@ -814,7 +814,7 @@ rtchw_set_alrmbr_exit:
#endif
/****************************************************************************
* Name:
alarm
_enable
* Name:
rtc
_enable
_alarm
*
* Description:
* Enable ALARM interrupts
...
...
@@ -828,7 +828,7 @@ rtchw_set_alrmbr_exit:
****************************************************************************/
#ifdef CONFIG_RTC_ALARM
static
void
alarm
_enable
(
void
)
static
inline
void
rtc
_enable
_alarm
(
void
)
{
/* Is the alarm already enabled? */
...
...
@@ -1347,7 +1347,7 @@ int stm32_rtc_setalarm(FAR struct alm_setalarm_s *alminfo)
/* Make sure the the alarm interrupt is enabled at the NVIC */
alarm
_enable
();
rtc
_enable
_alarm
();
/* REVISIT: Should test that the time is in the future */
...
...
This diff is collapsed.
Click to expand it.
arch/arm/src/stm32l4/stm32l4_rtcc.c
+
4
−
4
View file @
9b9b7214
...
...
@@ -154,7 +154,7 @@ static int rtchw_check_alrawf(void);
static
int
rtchw_check_alrbwf
(
void
);
static
int
rtchw_set_alrmar
(
rtc_alarmreg_t
alarmreg
);
static
int
rtchw_set_alrmbr
(
rtc_alarmreg_t
alarmreg
);
static
void
alarm
_enable
(
void
);
static
inline
void
rtc
_enable
_alarm
(
void
);
#endif
/************************************************************************************
...
...
@@ -769,7 +769,7 @@ rtchw_set_alrmbr_exit:
#endif
/****************************************************************************
* Name:
alarm
_enable
* Name:
rtc
_enable
_alarm
*
* Description:
* Enable ALARM interrupts
...
...
@@ -783,7 +783,7 @@ rtchw_set_alrmbr_exit:
****************************************************************************/
#ifdef CONFIG_RTC_ALARM
static
void
alarm
_enable
(
void
)
static
inline
void
rtc
_enable
_alarm
(
void
)
{
/* Is the alarm already enabled? */
...
...
@@ -1268,7 +1268,7 @@ int stm32l4_rtc_setalarm(FAR struct alm_setalarm_s *alminfo)
/* Make sure the the alarm interrupt is enabled at the NVIC */
alarm
_enable
();
rtc
_enable
_alarm
();
/* REVISIT: Should test that the time is in the future */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment