🌴 Sync 2026-03-05 23:51:42

This commit is contained in:
github-actions[bot] committed 2026-03-05 23:51:42 +08:00
1 parent 97c049ed0a
commit 0acff03804
14253 files changed
+3893239

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#!/bin/sh
#i=457
#echo $i > /sys/class/gpio/export
#echo "out" > /sys/class/gpio/gpio${i}/direction
while true
do
#echo "1" > /sys/class/gpio/gpio${i}/value
if [ -f /usr/bin/gpiofind ]; then
gpioset `gpiofind "watchdog"`=1 2>&1 >/dev/null
else
gpioset -t0 watchdog=1 2>&1 >/dev/null
fi
sleep 1
#echo "0" > /sys/class/gpio/gpio${i}/value
if [ -f /usr/bin/gpiofind ]; then
gpioset `gpiofind "watchdog"`=0 2>&1 >/dev/null
else
gpioset -t0 watchdog=0 2>&1 >/dev/null
fi
sleep 1
done