On 3 August 2013 19:51, Felix Fietkau <n...@openwrt.org> wrote:
> On 2013-08-01 1:02 PM, Yousong Zhou wrote:
>> 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 <yszhou4t...@gmail.com>
> It seems that this patch triggered false failsafe detection on all
> devices with active_low buttons. I fixed it up in r37664.

Yes, I got your point and now know better than before about active_low.

Thank you, Felix.

            yousong
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to