1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-22 09:56:40 +00:00

bdk: timer: restore rtc timer spinlock

This commit is contained in:
CTCaer 2024-10-10 18:22:03 +03:00
parent 1849ac6667
commit 14413ae6bd
2 changed files with 3 additions and 3 deletions

View file

@ -25,6 +25,8 @@
#define EXCP_TYPE_ADDR 0x4003FFF8 #define EXCP_TYPE_ADDR 0x4003FFF8
#define EXCP_TYPE_WDT 0x544457 // "WDT". #define EXCP_TYPE_WDT 0x544457 // "WDT".
#define USE_RTC_TIMER
u32 get_tmr_s() u32 get_tmr_s()
{ {
(void)RTC(APBDEV_RTC_MILLI_SECONDS); (void)RTC(APBDEV_RTC_MILLI_SECONDS);

View file

@ -29,8 +29,6 @@
#include <storage/sd.h> #include <storage/sd.h>
#include <utils/util.h> #include <utils/util.h>
#define USE_RTC_TIMER
u8 bit_count(u32 val) u8 bit_count(u32 val)
{ {
u8 cnt = 0; u8 cnt = 0;