Skip to content

Commit 7d64605

Browse files
committed
Bugfix: Don't call ECCX08::end() as it disable the I2C module.
This has the unpleasant side-effect that any future access to the I2C bus is trying to access an uninitialized I2C module and gets stuck in a loop.
1 parent ac34aa5 commit 7d64605

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ int ArduinoIoTCloudTCP::begin(String brokerAddress, uint16_t brokerPort)
187187
DEBUG_ERROR("CryptoUtil::readDeviceId(...) failed.");
188188
return 0;
189189
}
190-
ECCX08.end();
191190
#endif
192191

193192
#ifdef BOARD_HAS_ECCX08

0 commit comments

Comments
 (0)