Commit 9940676e authored by Charles Hall's avatar Charles Hall
Browse files

fixed PeripheralAccess::value()

The lack of `& 1` caused using pins other than the highest numbered one
as an input to not work correctly due to misinterpreting garbage bits as
setting the pin in the high state. `&`ing with `1` solves this problem
by zeroing out bits that should be ignored.
parent 27023116
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment