Skip to content

Commit 49bd70b

Browse files
authored
Merge pull request #13661 from MartinBielik/mbed-os-5.15
K82F, KL82Z: Fix the I2C SDK driver slave transfer
2 parents b67e542 + d58616d commit 49bd70b

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/drivers

1 file changed

+1
-1
lines changed

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/drivers/fsl_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ status_t I2C_SlaveWriteBlocking(I2C_Type *base, const uint8_t *txBuff, size_t tx
13271327
/* Read dummy to release bus. */
13281328
dummy = base->D;
13291329

1330-
result = I2C_MasterWriteBlocking(base, txBuff, txSize, kI2C_TransferDefaultFlag);
1330+
result = I2C_MasterWriteBlocking(base, txBuff, txSize, kI2C_TransferNoStopFlag);
13311331

13321332
/* Switch to receive mode. */
13331333
base->C1 &= ~(I2C_C1_TX_MASK | I2C_C1_TXAK_MASK);

0 commit comments

Comments
 (0)