We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b77e50 commit a0fa0b6Copy full SHA for a0fa0b6
targets/TARGET_STM/rtc_api.c
@@ -270,7 +270,7 @@ void rtc_write(time_t t)
270
271
#if DEVICE_LPTICKER && !MBED_CONF_TARGET_LPTICKER_LPTIM
272
/* Need to update LP_continuous_time value before new RTC time */
273
- uint32_t current_lp_time = rtc_read_lp();
+ rtc_read_lp();
274
275
/* LP_last_RTC_time value is updated with the new RTC time */
276
LP_last_RTC_time = timeStruct.Seconds + timeStruct.Minutes * 60 + timeStruct.Hours * 60 * 60;
0 commit comments