You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
406 B
20 lines
406 B
#!/bin/sh |
|
# |
|
# av_x1-v1 specific board sensors init |
|
#------------------------------------------------------------------------------ |
|
|
|
board_adc start |
|
|
|
adis16477 -s -R 8 start |
|
|
|
lps22hb -s start |
|
|
|
lsm303agr -s -R 4 start |
|
|
|
ms4525_airspeed -T 4515 -I -b 3 start |
|
|
|
if ! param greater SENS_EN_PMW3901 0 |
|
then |
|
# try to start adis16497 only if pmw3901 isn't enabled, or parameter doesn't exists |
|
adis16497 -S start |
|
fi
|
|
|