From 69b59b9d633c0886086fdac157fb9dff6aeb676c Mon Sep 17 00:00:00 2001 From: Jake Dahl Date: Tue, 16 Oct 2018 18:09:44 -0600 Subject: [PATCH] commented out something causing trouble with CI, it is in an unused function but I'd like to keep the comment there as a reference for future development effort --- src/drivers/batt_smbus/batt_smbus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/batt_smbus/batt_smbus.cpp b/src/drivers/batt_smbus/batt_smbus.cpp index 3e7600bd47..95c041fb99 100644 --- a/src/drivers/batt_smbus/batt_smbus.cpp +++ b/src/drivers/batt_smbus/batt_smbus.cpp @@ -360,7 +360,7 @@ int BATT_SMBUS::dataflash_read(uint16_t &address, void *data) // When reading a BATT_SMBUS_MANUFACTURER_BLOCK_ACCESS the first 2 bytes will be the command code // We will remove these since we do not care about the command code. - memcpy(data, &((uint8_t *)data)[2], DATA_BUFFER_SIZE); + //memcpy(data, &((uint8_t *)data)[2], DATA_BUFFER_SIZE); return result; }