Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed return value for function MPU6050::writeProgMemoryBlock()

  • Loading branch information...
commit cd3b7800d25d4e0ecba9cd06139861e9b4b5c69b 1 parent e80f73b
Dane Gardner DaneGardner authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  MPU6050/MPU6050.cpp
2  MPU6050/MPU6050.cpp
View
@@ -3018,7 +3018,7 @@ bool MPU6050::writeMemoryBlock(uint8_t *data, uint16_t dataSize, uint8_t bank, u
return true;
}
bool MPU6050::writeProgMemoryBlock(uint8_t *data, uint16_t dataSize, uint8_t bank, uint8_t address, bool verify) {
- writeMemoryBlock(data, dataSize, bank, address, verify, true);
+ return writeMemoryBlock(data, dataSize, bank, address, verify, true);
}
#define MPU6050_DMP_CONFIG_BLOCK_SIZE 6
bool MPU6050::writeDMPConfigurationSet(uint8_t *data, uint16_t dataSize, bool useProgMem) {
Please sign in to comment.
Something went wrong with that request. Please try again.