Skip to content
Snippets Groups Projects
Commit 412de3cf authored by Emile Castelnuovo's avatar Emile Castelnuovo Committed by Randy Mackay
Browse files

AP_Compass: VRBRAIN add #if !defined() for VRBRAIN 4.5 boards.

parent 45e3b0e9
No related branches found
No related tags found
No related merge requests found
......@@ -111,9 +111,10 @@ bool AP_Compass_VRBRAIN::read(void)
// a noop on most boards
_sum[i].rotate(MAG_BOARD_ORIENTATION);
#if !defined(CONFIG_ARCH_BOARD_VRBRAIN_V45)
// override any user setting of COMPASS_EXTERNAL
//_external.set(_is_external[0]);
_external.set(_is_external[0]);
#endif
if (_is_external[i]) {
// add user selectable orientation
_sum[i].rotate((enum Rotation)_orientation.get());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment