@@ -115,7 +115,7 @@ int ArduinoIoTCloudTCP::begin(ConnectionHandler & connection, bool const enable_
115115 _connection = &connection;
116116 _brokerAddress = brokerAddress;
117117 _brokerPort = brokerPort;
118- _time_service-> begin (&connection);
118+ _time_service. begin (&connection);
119119 return begin (enable_watchdog, _brokerAddress, _brokerPort);
120120}
121121
@@ -371,7 +371,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_ConnectPhy()
371371
372372ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SyncTime ()
373373{
374- unsigned long const internal_posix_time = _time_service-> getTime ();
374+ unsigned long const internal_posix_time = _time_service. getTime ();
375375 DEBUG_VERBOSE (" ArduinoIoTCloudTCP::%s internal clock configured to posix timestamp %d" , __FUNCTION__, internal_posix_time);
376376 return State::ConnectMqttBroker;
377377}
@@ -535,7 +535,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_Connected()
535535 */
536536 sendPropertiesToCloud ();
537537
538- unsigned long const internal_posix_time = _time_service-> getTime ();
538+ unsigned long const internal_posix_time = _time_service. getTime ();
539539 if (internal_posix_time < _tz_dst_until) {
540540 return State::Connected;
541541 } else {
@@ -568,7 +568,7 @@ void ArduinoIoTCloudTCP::handleMessage(int length)
568568 DEBUG_VERBOSE (" ArduinoIoTCloudTCP::%s [%d] last values received" , __FUNCTION__, millis ());
569569 CBORDecoder::decode (_property_container, (uint8_t *)bytes, length, true );
570570 sendPropertiesToCloud ();
571- _time_service-> setTimeZoneData (_tz_offset, _tz_dst_until);
571+ _time_service. setTimeZoneData (_tz_offset, _tz_dst_until);
572572 execCloudEventCallback (ArduinoIoTCloudEvent::SYNC);
573573 _last_sync_request_cnt = 0 ;
574574 _last_sync_request_tick = 0 ;
0 commit comments