File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ jobs:
170
170
- name: arduino:mbed_portenta
171
171
libraries : |
172
172
- name: ArduinoECCX08
173
+ - name: Arduino_Cellular
173
174
sketch-paths : |
174
175
- examples/ArduinoIoTCloud-DeferredOTA
175
176
- examples/utility/Provisioning
@@ -211,6 +212,8 @@ jobs:
211
212
platforms : |
212
213
# Install renesas_portenta platform via Boards Manager
213
214
- name: arduino:renesas_portenta
215
+ libraries : |
216
+ - name: Arduino_Cellular
214
217
sketch-paths : |
215
218
- examples/utility/Provisioning
216
219
# UNO R4 WiFi
Original file line number Diff line number Diff line change @@ -292,9 +292,11 @@ unsigned long TimeServiceClass::getRemoteTime()
292
292
* This is the most reliable time source and it will
293
293
* ensure a correct behaviour of the library.
294
294
*/
295
- unsigned long const ntp_time = NTPUtils::getTime (_con_hdl->getUDP ());
296
- if (isTimeValid (ntp_time)) {
297
- return ntp_time;
295
+ if (_con_hdl->getInterface () != NetworkAdapter::CELL) {
296
+ unsigned long const ntp_time = NTPUtils::getTime (_con_hdl->getUDP ());
297
+ if (isTimeValid (ntp_time)) {
298
+ return ntp_time;
299
+ }
298
300
}
299
301
300
302
/* As fallback if NTP request fails try to obtain the
You can’t perform that action at this time.
0 commit comments