Pulled in the missing headers.

master
Michael Hope 9 years ago
parent 1259455092
commit 3edb5ad123
  1. 4
      external/i2cdevlib/Arduino/MPU6050/MPU6050.cpp
  2. 1
      external/i2cdevlib/Arduino/MPU6050/MPU6050.h

@ -35,6 +35,8 @@ THE SOFTWARE.
*/
#include "MPU6050.h"
#include <cstdlib>
#include <cstring>
/** Default constructor, uses default I2C address.
* @see MPU6050_DEFAULT_ADDRESS
@ -3139,4 +3141,4 @@ uint8_t MPU6050::getDMPConfig2() {
}
void MPU6050::setDMPConfig2(uint8_t config) {
I2Cdev::writeByte(devAddr, MPU6050_RA_DMP_CFG_2, config);
}
}

@ -37,6 +37,7 @@ THE SOFTWARE.
#ifndef _MPU6050_H_
#define _MPU6050_H_
#include <cstdint>
#include "I2Cdev.h"
// supporting link: http://forum.arduino.cc/index.php?&topic=143444.msg1079517#msg1079517

Loading…
Cancel
Save