From c3b64f6d2a8635e23f25bc97aca364ba640d565d Mon Sep 17 00:00:00 2001 From: Phillip Kocmoud Date: Tue, 27 Mar 2018 19:48:41 -0500 Subject: [PATCH] Corrected rotation for internal SPI LIS3MDL Sensor on R15 Pixracer --- ROMFS/px4fmu_common/init.d/rc.sensors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 6bf5dfa559..7cac355f26 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -192,7 +192,7 @@ then then # hmc5883 internal SPI bus is rotated 90 deg yaw else - if lis3mdl -R 2 start + if lis3mdl start then # lis3mdl internal SPI bus is rotated 90 deg yaw else