diff options
Diffstat (limited to 'meta-quanta/meta-q71l/recipes-phosphor/quanta-powerctrl/files/poweron.sh')
-rwxr-xr-x | meta-quanta/meta-q71l/recipes-phosphor/quanta-powerctrl/files/poweron.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-quanta/meta-q71l/recipes-phosphor/quanta-powerctrl/files/poweron.sh b/meta-quanta/meta-q71l/recipes-phosphor/quanta-powerctrl/files/poweron.sh index f925a33a8c..2ae70de350 100755 --- a/meta-quanta/meta-q71l/recipes-phosphor/quanta-powerctrl/files/poweron.sh +++ b/meta-quanta/meta-q71l/recipes-phosphor/quanta-powerctrl/files/poweron.sh @@ -1,7 +1,7 @@ #!/bin/bash GPIO_BASE=$(cat /sys/devices/platform/ahb/ahb:apb/1e780000.gpio/gpio/*/base) -GPIO_NUM=$(($GPIO_BASE + 24 + 3)) +GPIO_NUM=$((GPIO_BASE + 24 + 3)) echo 1 > /sys/class/gpio/gpio${GPIO_NUM}/value sleep 1 |