forked from Archive/PX4-Autopilot
Don't waste time printing when we have errors - that causes the master to time out
This commit is contained in:
parent
c51b130f17
commit
7c2445f74d
|
@ -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.
Loading…
Reference in New Issue