Skip to content

Commit fd0bb72

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 d8a9965 commit fd0bb72

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
@@ -189,7 +189,6 @@ int ArduinoIoTCloudTCP::begin(String brokerAddress, uint16_t brokerPort)
189189
DEBUG_ERROR("CryptoUtil::readDeviceId(...) failed.");
190190
return 0;
191191
}
192-
ECCX08.end();
193192
#endif
194193

195194
#ifdef BOARD_HAS_ECCX08

0 commit comments

Comments
 (0)