mirror of
https://github.com/apache/nuttx.git
synced 2026-10-18 19:48:50 +00:00
kinetis/rtc: Enable global lock for all
g_rtc_lock is used by the up_rtc_settime, a base RTC function. Therefore, it should be available even for this procedure, not just when CONFIG_RTC_HIRES. Signed-off-by: Jiri Vlasak <jvlasak@elektroline.cz>
This commit is contained in:
parent
804249a0b2
commit
25eae573e5
1 changed files with 0 additions and 2 deletions
|
|
@ -63,9 +63,7 @@
|
|||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_RTC_HIRES
|
||||
static spinlock_t g_rtc_lock = SP_UNLOCKED;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTC_ALARM
|
||||
static alarmcb_t g_alarmcb;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue