Skip to content

Commit

Permalink
Update rc.board_sensors
Browse files Browse the repository at this point in the history
#Start Auterion Power Module selector for zeroone boards
if ver hwbasecmp 150
then
	pm_selector_auterion start
else
	if [ $INA_CONFIGURED = no ]
	then
		# INA226, INA228, INA238 auto-start
		i2c_launcher start -b 1
		if [ $HAVE_PM2 = yes ]
		then
			i2c_launcher start -b 2
		fi
	fi
fi
  • Loading branch information
ZeroOne-Aero authored Sep 9, 2024
1 parent 9292d0f commit 19e701a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boards/zeroone/x6/init/rc.board_sensors
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# PX4 FMUv6X specific board sensors init
# ZeroOne X6 specific board sensors init
#------------------------------------------------------------------------------
set HAVE_PM2 yes
set INA_CONFIGURED no
Expand Down Expand Up @@ -55,8 +55,8 @@ then
set INA_CONFIGURED yes
fi

#Start Auterion Power Module selector for Skynode boards
if ver hwbasecmp 009 010 011
#Start Auterion Power Module selector for zeroone boards
if ver hwbasecmp 150
then
pm_selector_auterion start
else
Expand Down

0 comments on commit 19e701a

Please sign in to comment.