Skip to content

Commit

Permalink
fixup! bad copy-paste
Browse files Browse the repository at this point in the history
  • Loading branch information
kitlith committed Jul 20, 2023
1 parent b37e8e7 commit 8b77b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sensors/mpu9250sensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ void MPU9250Sensor::parseAccelData(int16_t data[3]) {

//apply offsets (bias) and scale factors from Magneto
for (unsigned i = 0; i < 3; i++) {
temp[i] = (Mxyz[i] - m_Calibration.M_B[i]);
temp[i] = (Axyz[i] - m_Calibration.A_B[i]);
}

for (unsigned i = 0; i < 3; i++) {
Expand Down

0 comments on commit 8b77b22

Please sign in to comment.