AP_Compass: fixed corrections for AK8963

This commit is contained in:
Staroselskii Georgii 2015-01-04 18:20:27 +03:00 committed by Andrew Tridgell
parent 4394f0cf75
commit c16eb5d330

View File

@ -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;