OpenWrt Forum Archive

Topic: GPIO initialization sources

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello, I got a question.
I used atheros based boards to control relays thru led gpios. It work perfect on WR740N
2 days ago I tried it on  TP-Link WR841n v10 (Atheros QCA9533-BL3A)
and when I initialize GPIO manually ,  it goes do raised state (value 1) by default, that make my relays switch for less than a second while in initialize gpios. I do not want that.
So the question where is the source file responsible for GPIO initialization to edit it and make default Value to be zero.

Thank u it work without a problem, I'm getting old - missing to notice this when I read it smile

The discussion might have continued from here.