Skip to content

Commit d51a6a4

Browse files
committed
ArduinoIoTCloudTCP: fix initial state
1 parent 26215f8 commit d51a6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ unsigned long getTime()
4848
******************************************************************************/
4949

5050
ArduinoIoTCloudTCP::ArduinoIoTCloudTCP()
51-
: _state{State::ConnectPhy}
51+
: _state{State::ConfigPhy}
5252
, _connection_attempt(0,0)
5353
, _message_stream(std::bind(&ArduinoIoTCloudTCP::sendMessage, this, std::placeholders::_1))
5454
, _thing(&_message_stream)

0 commit comments

Comments
 (0)