forked from Archive/PX4-Autopilot
6x: fix internal mag rotation
From looking at the history the BMM150 rotation was initially 0. Then, this was changed to 6 when the intent was to only change it for Skynode. A bit later, the rotation was changed back to 0, but only for Skynode. This tells me that rotation 0 was correct for all 6X including Skynode all along. Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
parent
d9fd67be3b
commit
440165809a
|
@ -102,13 +102,8 @@ if ver hwtypecmp V6X002001
|
|||
then
|
||||
rm3100 -I -b 4 start
|
||||
else
|
||||
if ver hwtypecmp V6X009010 V6X010010
|
||||
then
|
||||
# Internal magnetometer on I2C
|
||||
bmm150 -I -R 0 start
|
||||
else
|
||||
bmm150 -I -R 6 start
|
||||
fi
|
||||
# Internal magnetometer on I2C
|
||||
bmm150 -I -R 0 start
|
||||
fi
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
|
|
Loading…
Reference in New Issue