I2CSPIDriverBase: sensor start failure ERROR if internal, WARN if external

This commit is contained in:
Daniel Agar
2021-12-28 11:05:35 -05:00
parent 990d7c159d
commit 6d0339ba0c
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
board_adc start
# SPI1
if ! icm20689 -s -b 1 -R 2 start
if ! icm20689 -s -b 1 -R 2 -q start
then
adis16470 -s -b 1 -R 2 start
fi
+1 -1
View File
@@ -9,7 +9,7 @@ board_adc start
ms5611 -s start
# hmc5883 internal SPI bus is rotated 90 deg yaw
if ! hmc5883 -T -s -R 2 start
if ! hmc5883 -T -s -R 2 -q start
then
# lis3mdl internal SPI bus is rotated 90 deg yaw
lis3mdl -s start
+1 -1
View File
@@ -4,7 +4,7 @@
#------------------------------------------------------------------------------
rgbled start -I
rgbled_ncp5623c start -I
rgbled_ncp5623c start -I -q
board_adc start