Skip to content

Commit a4ffbd8

Browse files
pennamandreagilardoni
authored andcommitted
ArduinoIoTCloudTCP: fix initial state
1 parent 52b0de2 commit a4ffbd8

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)