Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cores/arduino/stm32/twi.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void i2c_custom_init(i2c_t *obj, i2c_timing_e timing, uint32_t addressingMode, u
handle->Init.OwnAddress2 = 0xFF;
handle->Init.AddressingMode = addressingMode;
handle->Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
handle->Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
handle->Init.GeneralCallMode = I2C_GENERALCALL_ENABLE;
handle->Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;

handle->State = HAL_I2C_STATE_RESET;
Expand Down