Files
bizhang_-obav/boards/omnibus/f4sd/init/rc.board_sensors
Daniel Agar 6f6efd60b7 boards: centralize optional external I2C sensor start
- configured with new parameter SENS_EXT_I2C_PRB
2020-06-10 09:04:13 -04:00

15 lines
291 B
Bash

#!/bin/sh
#
# Omnibus F4SD specific board sensors init
#------------------------------------------------------------------------------
adc start
if ! mpu6000 -R 6 -s start
then
# some boards such as the Hobbywing XRotor F4 G2 use the ICM-20602
icm20602 -s -R 6 start
fi
bmp280 -s start