File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ ArduinoIoTCloudTCP::ArduinoIoTCloudTCP()
7070: _state{State::ConnectPhy}
7171, _next_connection_attempt_tick{0 }
7272, _last_connection_attempt_cnt{0 }
73- , _lastSyncRequestTickTime {0 }
73+ , _last_sync_request_tick {0 }
7474, _mqtt_data_buf{0 }
7575, _mqtt_data_len{0 }
7676, _mqtt_data_request_retransmit{false }
@@ -419,11 +419,11 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_RequestLastValues()
419419
420420 /* Check whether or not we need to send a new request. */
421421 unsigned long const now = millis ();
422- if ((now - _lastSyncRequestTickTime ) > AIOT_CONFIG_TIMEOUT_FOR_LASTVALUES_SYNC_ms)
422+ if ((now - _last_sync_request_tick ) > AIOT_CONFIG_TIMEOUT_FOR_LASTVALUES_SYNC_ms)
423423 {
424424 DEBUG_VERBOSE (" ArduinoIoTCloudTCP::%s [%d] last values requested" , __FUNCTION__, now);
425425 requestLastValue ();
426- _lastSyncRequestTickTime = now;
426+ _last_sync_request_tick = now;
427427 }
428428
429429 return State::RequestLastValues;
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass
9898
9999 unsigned long _next_connection_attempt_tick;
100100 unsigned int _last_connection_attempt_cnt;
101- unsigned long _lastSyncRequestTickTime ;
101+ unsigned long _last_sync_request_tick ;
102102 String _brokerAddress;
103103 uint16_t _brokerPort;
104104 uint8_t _mqtt_data_buf[MQTT_TRANSMIT_BUFFER_SIZE];
You can’t perform that action at this time.
0 commit comments