diff options
author | px4dev <px4@purgatory.org> | 2013-01-08 00:42:18 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-01-13 19:04:59 -0800 |
commit | 7c2445f74d9616d2f55166b02eea39003d48280c (patch) | |
tree | 281f99280e9062ef91f65007563fb404ea4b3489 /apps/px4io | |
parent | c51b130f17c9a3e06c6b41f1c67b4d58c5f39915 (diff) | |
download | px4-firmware-7c2445f74d9616d2f55166b02eea39003d48280c.tar.gz px4-firmware-7c2445f74d9616d2f55166b02eea39003d48280c.tar.bz2 px4-firmware-7c2445f74d9616d2f55166b02eea39003d48280c.zip |
Don't waste time printing when we have errors - that causes the master to time out
Diffstat (limited to 'apps/px4io')
-rw-r--r-- | apps/px4io/i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/px4io/i2c.c b/apps/px4io/i2c.c index 3b92fe3ef..c3c897811 100644 --- a/apps/px4io/i2c.c +++ b/apps/px4io/i2c.c @@ -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; } |