openwrt/package/base-files
Mathias Kresin acafbac4b3 base-files: gpio switch: check if direction can be set
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>
2018-01-18 07:22:37 +01:00
..
files base-files: gpio switch: check if direction can be set 2018-01-18 07:22:37 +01:00
Makefile base-files: gpio switch: check if direction can be set 2018-01-18 07:22:37 +01:00
image-config.in base-files: remove remaining uses of %N, and drop VERSION_NICK config symbol 2017-12-09 23:27:41 +01:00