mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
acafbac4b3
Obviously not all GPIO controller allow to change the direction. The issue is around since the beginning of the script but only due to the recent changes error messages are more visible. Add a check if a change of the direction is supported by the GPIO controller and fallback to setting only the value if not. Fixes: FS#1271 Signed-off-by: Mathias Kresin <dev@kresin.me> |
||
---|---|---|
.. | ||
boot | ||
done | ||
gpio_switch | ||
led | ||
sysctl | ||
sysfixtime | ||
system | ||
umount | ||
urandom_seed |