Skip to content

Commit 2abf36f

Browse files
committed
Fix type
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 01e1b81 commit 2abf36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)