We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d59fbf7 + 1c6ab03 commit ac9a8f3Copy full SHA for ac9a8f3
Arduino/MPU6050/MPU6050.cpp
@@ -1994,7 +1994,7 @@ uint32_t MPU6050::getExternalSensorDWord(int position) {
1994
* @return Motion detection status byte
1995
* @see MPU6050_RA_MOT_DETECT_STATUS
1996
*/
1997
-bool MPU6050::getMotionStatus() {
+uint8_t MPU6050::getMotionStatus() {
1998
I2Cdev::readByte(devAddr, MPU6050_RA_MOT_DETECT_STATUS, buffer);
1999
return buffer[0];
2000
}
@@ -3147,4 +3147,4 @@ uint8_t MPU6050::getDMPConfig2() {
3147
3148
void MPU6050::setDMPConfig2(uint8_t config) {
3149
I2Cdev::writeByte(devAddr, MPU6050_RA_DMP_CFG_2, config);
3150
-}
+}
0 commit comments