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 f9e8540 commit b57d900Copy full SHA for b57d900
src/utility/time/TimeService.cpp
@@ -105,13 +105,15 @@ unsigned long TimeService::getRemoteTime()
105
return connection_time;
106
}
107
108
+#ifndef __AVR__
109
/* If no valid network time is available try to obtain the
110
* time via NTP next.
111
*/
112
unsigned long const ntp_time = NTPUtils::getTime(_con_hdl->getUDP());
113
if(isTimeValid(ntp_time)) {
114
return ntp_time;
115
116
+#endif
117
118
#endif /* ifndef HAS_LORA */
119
0 commit comments