You get an RTC, and you get an RTC! (delete HAS_RTC as it wasn't actually doing much) (#9493)
This commit is contained in:
co-authored by
GitHub
parent
c19fc62683
commit
200e79e800
@@ -276,10 +276,7 @@ RTCSetResult perhapsSetRTC(RTCQuality q, const struct timeval *tv, bool forceUpd
|
||||
settimeofday(tv, NULL);
|
||||
#endif
|
||||
|
||||
#if HAS_RTC
|
||||
readFromRTC();
|
||||
#endif
|
||||
|
||||
return RTCSetResultSuccess;
|
||||
} else {
|
||||
return RTCSetResultNotSet; // RTC was already set with a higher quality time
|
||||
|
||||
Reference in New Issue
Block a user