diff options
author | Randy Mackay <rmackay9@yahoo.com> | 2015-03-02 14:30:46 +0900 |
---|---|---|
committer | Randy Mackay <rmackay9@yahoo.com> | 2015-03-02 15:30:06 +0900 |
commit | ca4adebe117af84f77141f6fc7b2f865cba58086 (patch) | |
tree | 7705fd34a8f7075566e5ff111159a4490bfd7ab4 /src | |
parent | dc678342226e2b200e7c4c030b9d2a456a497d19 (diff) | |
download | px4-firmware-ca4adebe117af84f77141f6fc7b2f865cba58086.tar.gz px4-firmware-ca4adebe117af84f77141f6fc7b2f865cba58086.tar.bz2 px4-firmware-ca4adebe117af84f77141f6fc7b2f865cba58086.zip |
batt_smbus: remove debug
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/batt_smbus/batt_smbus.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/drivers/batt_smbus/batt_smbus.cpp b/src/drivers/batt_smbus/batt_smbus.cpp index 604ce35c5..a958fc60d 100644 --- a/src/drivers/batt_smbus/batt_smbus.cpp +++ b/src/drivers/batt_smbus/batt_smbus.cpp @@ -452,10 +452,7 @@ BATT_SMBUS::read_block(uint8_t reg, uint8_t *data, uint8_t max_len, bool append_ uint8_t pec = get_PEC(reg, true, buff, bufflen + 1); if (pec != buff[bufflen + 1]) { - // debug - warnx("CurrPEC:%x vs MyPec:%x", (int)buff[bufflen + 1], (int)pec); return 0; - } // copy data |