Fix mpu9250sensor.cpp

This commit is contained in:
LETBBI
2021-10-24 15:33:39 +09:00
parent bc4ce237c7
commit ae897d2bbb

View File

@@ -97,6 +97,7 @@ void MPU9250Sensor::motionLoop() {
void MPU9250Sensor::sendData() {
if(newData) {
sendQuat(&quaternion, PACKET_ROTATION);
newData = false;
}
}
@@ -296,7 +297,7 @@ void MPU9250Sensor::startCalibration(int calibrationType) {
sendCalibrationFinished(CALIBRATION_TYPE_EXTERNAL_ALL, 0, PACKET_RAW_CALIBRATION_DATA);
}
#include <magento1.4.h>
#include "magneto1.4.h"
void MPU9250Sensor::internalCalibration()
{