From e7b8662ce47bb4a48915482fc65f4397d782a399 Mon Sep 17 00:00:00 2001 From: Bryan Date: Fri, 1 Jan 2021 23:20:28 -0600 Subject: [PATCH] remove more from blonk --- blonk.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/blonk.sh b/blonk.sh index 0232396..35cae67 100755 --- a/blonk.sh +++ b/blonk.sh @@ -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