Skip to content

Commit

Permalink
fix ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
sabas1080 committed Dec 18, 2023
1 parent 24c7b16 commit f873605
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/MPU6050.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ");
Expand Down

0 comments on commit f873605

Please sign in to comment.