mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-10-31 02:51:59 +01:00
Fixup compass
This commit is contained in:
1 parent
d38c4abad2
commit
fc39d29910
1 file changed
+1
-1
@@ -147,7 +147,7 @@ int8_t _read_xyz(TwoWire &wire, CompassXYZ &xyz)
|
||||
int8_t r = _read_registers(wire, QMC5883_ADDR, 0, (uint8_t *)&mags, 6);
|
||||
xyz.x = mags[0];
|
||||
xyz.y = mags[1];
|
||||
xyz.z = mags[1];
|
||||
xyz.z = mags[2];
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user