From e561b85d881b6d75e5f42b391c91ce9b2a69183d Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Wed, 27 Nov 2024 18:19:39 +0100 Subject: [PATCH] fix: do not attach Seconds Interrupt Fixes #36. Signed-off-by: Frederic Pillon --- src/STM32LoRaWAN.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/STM32LoRaWAN.cpp b/src/STM32LoRaWAN.cpp index 433acb9..bc91055 100644 --- a/src/STM32LoRaWAN.cpp +++ b/src/STM32LoRaWAN.cpp @@ -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());