Hi, this series tries to fix unintended failsafe triggering by initializing
buttons' last_status with its actual value instead of always 0 (released).
Otherwise devices with like TL-WR720N-v3 would always go into failsafe as some
of
its GPIO buttons are always in pressed state. It's weird that this issue never
happened before.
Yousong Zhou (3):
gpio-button-hotplug: add inline function gpio_button_get_value().
gpio-button-hotplug: use gpio_button_get_value() to fetch state.
gpio-button-hotplug: use gpio_button_get_value() to initialize
last_state.
.../gpio-button-hotplug/src/gpio-button-hotplug.c | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
--
1.7.2.5
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel