Skip to content

Commit

Permalink
fixed i2c async transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
EricB-ADI committed Nov 11, 2024
1 parent d2480e1 commit 0d86d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/PeriphDrivers/Source/I2C/i2c_reva.c
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ int MXC_I2C_RevA_MasterTransaction(mxc_i2c_reva_req_t *req)
} else {
i2c->mstctrl |= MXC_F_I2C_REVA_MSTCTRL_STOP;

while (!(i2c->mstctrl & MXC_F_I2C_REVA_MSTCTRL_STOP)) {}
while (!(i2c->intfl0 & MXC_F_I2C_REVA_INTFL0_STOP)) {}
// Wait for Transaction to finish
}

Expand Down

0 comments on commit 0d86d50

Please sign in to comment.