Skip to content

Commit

Permalink
Merge pull request #318 from ryan-feeley/init-nullptr
Browse files Browse the repository at this point in the history
Add pointer initialization in MPU6050.cpp
  • Loading branch information
jrowberg authored Sep 23, 2017
2 parents 70b0689 + 312e173 commit 9a1ef6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Arduino/MPU6050/MPU6050.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3037,7 +3037,7 @@ bool MPU6050::writeMemoryBlock(const uint8_t *data, uint16_t dataSize, uint8_t b
setMemoryBank(bank);
setMemoryStartAddress(address);
uint8_t chunkSize;
uint8_t *verifyBuffer;
uint8_t *verifyBuffer=0;
uint8_t *progBuffer=0;
uint16_t i;
uint8_t j;
Expand Down

0 comments on commit 9a1ef6e

Please sign in to comment.