Update config battery address 44 or 45

master-psag-fm-only-fsk
Alan Johnston 1 week ago committed by GitHub
parent 50d95bbe76
commit 15c4510c06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -176,7 +176,7 @@ if [ "$1" = "" ]; then
FILE=/home/pi/CubeSatSim/sim_mode_auto
if [ -f "$FILE" ]; then
echo "Simulated Telemetry is automatically turned ON"
elif [[ $(timeout 2 i2cdetect -y 1 | grep -e "43" -e "44") ]]; then
elif [[ $(timeout 2 i2cdetect -y 1 | grep -e "44" -e "45") ]]; then # check for battery board sensors
# Check the exit code of the last command
if [ $? -ne 0 ]; then
echo "Command failed!"

Loading…
Cancel
Save

Powered by TurnKey Linux.