From f8736057d3dae1af1b4cdcc659137e6a4227b290 Mon Sep 17 00:00:00 2001 From: Sabas Date: Mon, 18 Dec 2023 11:41:24 -0600 Subject: [PATCH] fix ifdef --- src/MPU6050.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/MPU6050.cpp b/src/MPU6050.cpp index 9dffd21..92b9f3f 100644 --- a/src/MPU6050.cpp +++ b/src/MPU6050.cpp @@ -3140,7 +3140,6 @@ bool MPU6050_Base::writeMemoryBlock(const uint8_t *data, uint16_t dataSize, uint setMemoryStartAddress(address); I2Cdev::readBytes(devAddr, MPU6050_RA_MEM_R_W, chunkSize, verifyBuffer, I2Cdev::readTimeout, wireObj); if (memcmp(progBuffer, verifyBuffer, chunkSize) != 0) { -#ifdef DEBUG Serial.print("Block write verification error, bank "); Serial.print(bank, DEC); Serial.print(", address ");