remove more from blonk

master
Bryan 2021-01-01 23:20:28 -06:00
parent 4f2996c7e2
commit e7b8662ce4
1 changed files with 0 additions and 11 deletions

View File

@ -317,11 +317,6 @@ compile_warnings(){
handle_warnings(){
echo
}
blink(){
gpio_output $BLINK_GPIO $BLINK_GPIO_STATE
BLINK_GPIO_STATE=$((1-BLINK_GPIO_STATE))
}
check_i2c_installed
@ -359,7 +354,6 @@ BLINK_GPIO_STATE=$((1-BLINK_GPIO_STATE))
#echo $TIME
#echo $LAST_TIME_SENSORS
if (( $TIME > $LAST_TIME_SENSORS )); then #read and handle sensors
blink
#echo "reading sensors"
read_AXP
read_stats
@ -368,14 +362,9 @@ BLINK_GPIO_STATE=$((1-BLINK_GPIO_STATE))
#handle_warnings
LAST_TIME_SENSORS=$((TIME+SENSOR_READ_FREQUENCY))
#echo $LAST_TIME_SENSORS
blink
sleep 0.1
fi
blink
sleep $BLINK_FREQUENCY_HALF
blink
sleep $BLINK_FREQUENCY_HALF
done
# fi