Closed muman613 closed 3 months ago
This PR contains a single change. It adds a function i2c_disconnect(I2CDriver *sd) to the C sdk.
i2c_disconnect(I2CDriver *sd)
This function provides the opposite function of the connect() call. It closes the serial device and resets the connected flag.
connected
Looks good. Thanks for the patch.
This PR contains a single change. It adds a function
i2c_disconnect(I2CDriver *sd)
to the C sdk.This function provides the opposite function of the connect() call. It closes the serial device and resets the connected flag.
connected
flag to zero.