openwrtv3/package/kernel/gpio-button-hotplug
John Crispin 1eabf431df gpio-button-hotplug: use gpio_button_get_value() to initialize last_state.
TL-WR720N-v3 has a slider switch composed of 2 GPIO buttons which can be
used to swtich between 3 positions.  At leat 1 button is in pressed state
in any of those positions.  Initialize 'last_state' as 0 (released) will
cause the device to automatically enter failsafe mode on every bootup.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 37643
2013-08-01 14:31:28 +00:00
..
src gpio-button-hotplug: use gpio_button_get_value() to initialize last_state. 2013-08-01 14:31:28 +00:00
Makefile packages: clean up the package folder 2013-06-21 16:54:37 +00:00