Don't waste time printing when we have errors - that causes the master to time out

This commit is contained in:
px4dev 2013-01-08 00:42:18 -08:00
parent c51b130f17
commit 7c2445f74d
2 changed files with 2 additions and 2 deletions

View File

@ -116,8 +116,8 @@ i2c_interrupt(int irq, FAR void *context)
// XXX not sure what else we need to do here...
if (sr1 & I2C_SR1_ERRORMASK) {
debug("errors 0x%04x", sr1 & I2C_SR1_ERRORMASK);
i2c_dump();
//debug("errors 0x%04x", sr1 & I2C_SR1_ERRORMASK);
//i2c_dump();
rSR1 = 0;
}

Binary file not shown.