From f65781025ebb776fb5c406d96fbbfa52360f8a30 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Fri, 26 Mar 2021 21:02:30 -0400 Subject: [PATCH] boards: mRo x21 enable mpu9250 mag (only internal) - fixes #17244 --- boards/mro/x21/init/rc.board_sensors | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/boards/mro/x21/init/rc.board_sensors b/boards/mro/x21/init/rc.board_sensors index 22ccc1b52d..402b84792a 100644 --- a/boards/mro/x21/init/rc.board_sensors +++ b/boards/mro/x21/init/rc.board_sensors @@ -1,18 +1,11 @@ #!/bin/sh # -# mRo x21 specific board sensors init +# Board specific sensors init #------------------------------------------------------------------------------ - board_adc start -# Internal SPI bus ICM-20608-G -icm20608g -s -R 8 start - -# Internal SPI bus ICM-20602 -icm20602 -s -R 8 start - -# Internal SPI bus mpu9250 -mpu9250 -s -R 8 start - -# Internal SPI -ms5611 -s start +# SPI1 +ms5611 -s -b 1 start +icm20608g -s -b 1 -R 8 start +icm20602 -s -b 1 -R 8 start +mpu9250 -s -b 1 -R 8 -M start