* misc/i2c.c: Bugfix.
This commit is contained in:
Sebastian Huber
2011-08-08 12:33:22 +00:00
parent 7bdd5716f5
commit 18a0c56b4b
2 changed files with 4 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
2011-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* misc/i2c.c: Bugfix.
2011-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/.cvsignore: New file.

View File

@@ -190,12 +190,6 @@ rtems_status_code lpc32xx_i2c_read_with_optional_stop(
}
while (rx <= last) {
if ((i2c->stat & I2C_STAT_TDI) != 0) {
stop = true;
break;
}
while (tx < last && can_tx_for_rx(i2c)) {
i2c->rx_or_tx = 0;
++tx;