mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 01:33:56 -04:00
AP_Compass: VRBRAIN add #if !defined() for VRBRAIN 4.5 boards.
This commit is contained in:
parent
45e3b0e9cd
commit
412de3cf76
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user