Commented debug printfs
Dependents: LoRaWAN-NAMote72-Application-Demo_IoTium LoRaWAN-NAMote72-BVS-confirmed-tester-0-7v1_copy LoRaWAN-NAMote72-Application-Demo-good LoRaWAN-NAMote72-Application-Demo
Fork of lib_mpl3115a2 by
Revision 3:f91c45dac933, committed 2015-12-14
- Comitter:
- mluis
- Date:
- Mon Dec 14 15:22:46 2015 +0000
- Parent:
- 2:0eb8b0ad292b
- Commit message:
- Commented debug printfs
Changed in this revision
mpl3115a2.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0eb8b0ad292b -r f91c45dac933 mpl3115a2.cpp --- a/mpl3115a2.cpp Mon Aug 31 21:37:41 2015 +0000 +++ b/mpl3115a2.cpp Mon Dec 14 15:22:46 2015 +0000 @@ -76,7 +76,9 @@ cmd[1] = d; if (m_i2c.write(MPL3115A_I2C_ADDRESS, cmd, 2)) - printf("MPL write-fail %02x %02x\n", cmd[0], cmd[1]); + { + //printf("MPL write-fail %02x %02x\n", cmd[0], cmd[1]); + } if (a == CTRL_REG4) ctrl_reg4 = d; @@ -88,9 +90,13 @@ cmd[0] = a; if (m_i2c.write(MPL3115A_I2C_ADDRESS, cmd, 1, true)) - printf("MPL write-fail %02x\n", cmd[0]); + { + //printf("MPL write-fail %02x\n", cmd[0]); + } if (m_i2c.read(MPL3115A_I2C_ADDRESS, cmd, 1)) - printf("MPL read-fail\n"); + { + //printf("MPL read-fail\n"); + } if (a == CTRL_REG4) ctrl_reg4 = cmd[0];