Skip to content

Commit 32439c1

Browse files
committed
fix: do not attach Seconds Interrupt
Fixes #36. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 4159906 commit 32439c1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/STM32LoRaWAN.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ bool STM32LoRaWAN::begin(_lora_band band)
7575
_rtc.begin(true, STM32RTC::HOUR_24);
7676
/* Attach the callback function before enabling Interrupt */
7777
_rtc.attachInterrupt(UTIL_TIMER_IRQ_MAP_PROCESS, STM32RTC::ALARM_B);
78-
_rtc.attachSecondsInterrupt(TIMER_IF_SSRUCallback);
7978
/* The subsecond alarm B is set during the StartTimerEvent */
8079

8180
UTIL_TIMER_Init(_rtc.getHandle());

0 commit comments

Comments
 (0)