mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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…
x
Reference in New Issue
Block a user