Updated delay of 'view gpio' to 1sec (t'was 2)
This commit is contained in:
parent
18bf43948a
commit
bf40ab381f
|
@ -22,7 +22,7 @@ SYSTD_TREE=""; # service_log
|
||||||
source $ROOT/com/config_ioemu;
|
source $ROOT/com/config_ioemu;
|
||||||
|
|
||||||
|
|
||||||
while sleep 2; clear; do
|
while sleep 1; clear; do
|
||||||
|
|
||||||
# (3) Get last value from lines beginning by 'GSTA' #
|
# (3) Get last value from lines beginning by 'GSTA' #
|
||||||
STATE="`cat $BUF_IN | grep -Po "^GPIO(.+)$" | sed 's/^GPIO\(....\)$/\1/g' | tail -n1`";
|
STATE="`cat $BUF_IN | grep -Po "^GPIO(.+)$" | sed 's/^GPIO\(....\)$/\1/g' | tail -n1`";
|
||||||
|
|
Loading…
Reference in New Issue