mirror of
https://github.com/CTCaer/hekate
synced 2024-11-16 08:59:26 +00:00
bdk: timer: restore rtc timer spinlock
This commit is contained in:
parent
1849ac6667
commit
14413ae6bd
2 changed files with 3 additions and 3 deletions
|
@ -25,6 +25,8 @@
|
|||
#define EXCP_TYPE_ADDR 0x4003FFF8
|
||||
#define EXCP_TYPE_WDT 0x544457 // "WDT".
|
||||
|
||||
#define USE_RTC_TIMER
|
||||
|
||||
u32 get_tmr_s()
|
||||
{
|
||||
(void)RTC(APBDEV_RTC_MILLI_SECONDS);
|
||||
|
|
|
@ -29,8 +29,6 @@
|
|||
#include <storage/sd.h>
|
||||
#include <utils/util.h>
|
||||
|
||||
#define USE_RTC_TIMER
|
||||
|
||||
u8 bit_count(u32 val)
|
||||
{
|
||||
u8 cnt = 0;
|
||||
|
|
Loading…
Reference in a new issue