Skip to content

Commit bc67d17

Browse files
committed
Fix type
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent c93c2f7 commit bc67d17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/STM32LowPower.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ void STM32LowPower::enableWakeupFrom(STM32RTC *rtc, voidFuncPtr callback, void *
173173
*/
174174
void STM32LowPower::programRtcWakeUp(uint32_t ms, LP_Mode lp_mode)
175175
{
176-
int epoc;
176+
uint32_t epoc;
177177
uint32_t sec;
178178
STM32RTC &rtc = STM32RTC::getInstance();
179179
STM32RTC::Source_Clock clkSrc = rtc.getClockSource();

0 commit comments

Comments
 (0)