Skip to content

Commit 7fc775b

Browse files
committed
- switch state cleanup in ArduinoIoTCloud
1 parent 20cbb75 commit 7fc775b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ArduinoIoTCloud.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,8 @@ void ArduinoIoTCloudClass::connectionCheck() {
314314

315315
switch (iotStatus) {
316316
case IOT_STATUS_IDLE:
317-
{
318317
setIoTConnectionState(IOT_STATUS_CLOUD_CONNECTING);
319318
break;
320-
}
321-
322319
case IOT_STATUS_CLOUD_ERROR:
323320
debugMessage("Cloud Error. Retrying...", 0);
324321
setIoTConnectionState(IOT_STATUS_CLOUD_RECONNECTING);

0 commit comments

Comments
 (0)