mirror of https://github.com/arendst/Tasmota.git
Fix Time 0 NTP sync
This commit is contained in:
parent
b3540879ab
commit
78f106ccb7
|
@ -466,7 +466,6 @@ void RtcSetTime(uint32_t epoch)
|
||||||
Rtc.user_time_entry = true;
|
Rtc.user_time_entry = true;
|
||||||
Rtc.utc_time = epoch -1; // Will be corrected by RtcSecond
|
Rtc.utc_time = epoch -1; // Will be corrected by RtcSecond
|
||||||
}
|
}
|
||||||
RtcSecond();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RtcInit(void)
|
void RtcInit(void)
|
||||||
|
|
Loading…
Reference in New Issue