av/x-v1 support PMW3901 on SPI2 (now treated as external)

This commit is contained in:
Daniel Agar
2019-04-30 02:08:11 -04:00
parent db5dbb25b3
commit 5d7a82b8e2
4 changed files with 13 additions and 8 deletions
+6 -2
View File
@@ -12,8 +12,12 @@ lsm303agr -R 4 start
ms4525_airspeed -T 4515 -b 3 start
# TODO: try to autostart pmw3901
# TODO: try to autostart adis16497 start
# try to autostart pmw3901 on SPI2 (external)
if ! pmw3901 start
then
# if pmw3901 failed to start, try starting the adis16497 (SPI2)
adis16497 start
fi
# Possible external compasses
ist8310 -C -b 1 start