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()
70
70
: _state{State::ConnectPhy}
71
71
, _next_connection_attempt_tick{0 }
72
72
, _last_connection_attempt_cnt{0 }
73
- , _lastSyncRequestTickTime {0 }
73
+ , _last_sync_request_tick {0 }
74
74
, _mqtt_data_buf{0 }
75
75
, _mqtt_data_len{0 }
76
76
, _mqtt_data_request_retransmit{false }
@@ -419,11 +419,11 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_RequestLastValues()
419
419
420
420
/* Check whether or not we need to send a new request. */
421
421
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)
423
423
{
424
424
DEBUG_VERBOSE (" ArduinoIoTCloudTCP::%s [%d] last values requested" , __FUNCTION__, now);
425
425
requestLastValue ();
426
- _lastSyncRequestTickTime = now;
426
+ _last_sync_request_tick = now;
427
427
}
428
428
429
429
return State::RequestLastValues;
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass
98
98
99
99
unsigned long _next_connection_attempt_tick;
100
100
unsigned int _last_connection_attempt_cnt;
101
- unsigned long _lastSyncRequestTickTime ;
101
+ unsigned long _last_sync_request_tick ;
102
102
String _brokerAddress;
103
103
uint16_t _brokerPort;
104
104
uint8_t _mqtt_data_buf[MQTT_TRANSMIT_BUFFER_SIZE];
You can’t perform that action at this time.
0 commit comments