generic-gpio initialization overrides gpio values

14 views
Skip to first unread message

Leonardo Romor

unread,
Mar 21, 2018, 7:02:36 AM3/21/18
to beagleg-dev


Hello,

https://github.com/hzeller/beagleg/blob/master/src/generic-gpio.cc#L99

I think in this way we are overriding all gpios state. 
Shouldn't be better to just update the fields?


-l

Leonardo Romor

unread,
Mar 21, 2018, 5:21:24 PM3/21/18
to beagleg-dev
Well, my fault, our code 

has the old version of the generic-gpio.cc which overrides the registers values.

sorry for the spam,

-l
Reply all
Reply to author
Forward
0 new messages