Skip to content

Commit

Permalink
arch: cxd56xx: Fix not restart after TX error
Browse files Browse the repository at this point in the history
Fix a bug that I2C driver can not transfer after TX abort error.
It caused by remaining NO_STOP flag status.
  • Loading branch information
SPRESENSE committed Dec 13, 2024
1 parent 38b41e5 commit ddf3584
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/src/cxd56xx/cxd56_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ static int cxd56_i2c_transfer(struct i2c_master_s *dev,
if (priv->error != OK)
{
ret = priv->error;
wostop = 0;
break;
}

Expand Down

0 comments on commit ddf3584

Please sign in to comment.