comment out stuff blonk

master
Bryan 2021-01-01 23:10:21 -06:00
parent 23231d47c4
commit 270299ca8b
1 changed files with 15 additions and 15 deletions

View File

@ -481,7 +481,7 @@ fi
read_AXP
read_stats
#read_gpio
read_ip
#read_ip
compile_report
compile_warnings
@ -497,19 +497,19 @@ fi
fi
#########################################
check_gpio_installed
#check_gpio_installed
if [ -f /usr/local/bin/gpio.sh ]; then :
source /usr/local/bin/gpio.sh
fi
#if [ -f /usr/local/bin/gpio.sh ]; then :
# source /usr/local/bin/gpio.sh
#fi
setup_gpio
#setup_gpio
trap "blonk_stop" 1 2 3 15
#########################################
LAST_TIME_SENSORS=`date +%s`
LAST_TIME_IP=`date +%s`
#LAST_TIME_IP=`date +%s`
if [ $SERVICE ]; then
while true; do :
@ -532,17 +532,17 @@ fi
sleep 0.1
fi
if (( $TIME > $LAST_TIME_IP )); then #read and handle ip change
#echo "reading IP"
read_ip
manage_ip
LAST_TIME_IP=$((TIME+IP_READ_FREQUENCY))
#echo $LAST_TIME_IP
fi
#if (( $TIME > $LAST_TIME_IP )); then #read and handle ip change
# #echo "reading IP"
# read_ip
# manage_ip
# LAST_TIME_IP=$((TIME+IP_READ_FREQUENCY))
# #echo $LAST_TIME_IP
#fi
blink
sleep $BLINK_FREQUENCY_HALF
blink
sleep $BLINK_FREQUENCY_HALF
done
fi
fi