Skip to content

Commit

Permalink
fix: do not attach Seconds Interrupt
Browse files Browse the repository at this point in the history
Fixes #36.

Signed-off-by: Frederic Pillon <[email protected]>
  • Loading branch information
fpistm committed Nov 28, 2024
1 parent 4159906 commit 32439c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/STM32LoRaWAN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ bool STM32LoRaWAN::begin(_lora_band band)
_rtc.begin(true, STM32RTC::HOUR_24);
/* Attach the callback function before enabling Interrupt */
_rtc.attachInterrupt(UTIL_TIMER_IRQ_MAP_PROCESS, STM32RTC::ALARM_B);
_rtc.attachSecondsInterrupt(TIMER_IF_SSRUCallback);
/* The subsecond alarm B is set during the StartTimerEvent */

UTIL_TIMER_Init(_rtc.getHandle());
Expand Down

0 comments on commit 32439c1

Please sign in to comment.