Groups
Groups
Sign in
Groups
Groups
beagleg-dev
Conversations
About
Send feedback
Help
generic-gpio initialization overrides gpio values
14 views
Skip to first unread message
Leonardo Romor
unread,
Mar 21, 2018, 7:02:36 AM
3/21/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
3/21/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to beagleg-dev
Well, my fault, our code
https://github.com/Atrasoftware/beagleg/blob/atra/src/generic-gpio.cc#L146-L149
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