mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-09 01:13:57 -04:00
AP_Compass: fixed corrections for AK8963
This commit is contained in:
parent
4394f0cf75
commit
c16eb5d330
@ -508,7 +508,7 @@ bool AP_Compass_AK8963::read()
|
|||||||
_field[0].rotate(_board_orientation);
|
_field[0].rotate(_board_orientation);
|
||||||
}
|
}
|
||||||
|
|
||||||
_field[0] += _offset[0].get();
|
apply_corrections(_field[0],0);
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
float x = _field[0].x;
|
float x = _field[0].x;
|
||||||
|
Loading…
Reference in New Issue
Block a user