@@ -115,7 +115,7 @@ int ArduinoIoTCloudTCP::begin(ConnectionHandler & connection, bool const enable_
115
115
_connection = &connection;
116
116
_brokerAddress = brokerAddress;
117
117
_brokerPort = brokerPort;
118
- _time_service-> begin (&connection);
118
+ _time_service. begin (&connection);
119
119
return begin (enable_watchdog, _brokerAddress, _brokerPort);
120
120
}
121
121
@@ -371,7 +371,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_ConnectPhy()
371
371
372
372
ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SyncTime ()
373
373
{
374
- unsigned long const internal_posix_time = _time_service-> getTime ();
374
+ unsigned long const internal_posix_time = _time_service. getTime ();
375
375
DEBUG_VERBOSE (" ArduinoIoTCloudTCP::%s internal clock configured to posix timestamp %d" , __FUNCTION__, internal_posix_time);
376
376
return State::ConnectMqttBroker;
377
377
}
@@ -535,7 +535,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_Connected()
535
535
*/
536
536
sendPropertiesToCloud ();
537
537
538
- unsigned long const internal_posix_time = _time_service-> getTime ();
538
+ unsigned long const internal_posix_time = _time_service. getTime ();
539
539
if (internal_posix_time < _tz_dst_until) {
540
540
return State::Connected;
541
541
} else {
@@ -568,7 +568,7 @@ void ArduinoIoTCloudTCP::handleMessage(int length)
568
568
DEBUG_VERBOSE (" ArduinoIoTCloudTCP::%s [%d] last values received" , __FUNCTION__, millis ());
569
569
CBORDecoder::decode (_property_container, (uint8_t *)bytes, length, true );
570
570
sendPropertiesToCloud ();
571
- _time_service-> setTimeZoneData (_tz_offset, _tz_dst_until);
571
+ _time_service. setTimeZoneData (_tz_offset, _tz_dst_until);
572
572
execCloudEventCallback (ArduinoIoTCloudEvent::SYNC);
573
573
_last_sync_request_cnt = 0 ;
574
574
_last_sync_request_tick = 0 ;
0 commit comments