mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix masking bug in iox implementation
This commit is contained in:
parent
34489d5f94
commit
436be7ae9c
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ impl Iox {
|
|||
let oe_ptr = self.csr.base();
|
||||
IoxValue::from(
|
||||
oe_ptr.add(iox::SFR_GPIOIN_SRGI0.offset() + port as usize).read_volatile()
|
||||
& !(1u32 << (pin as u32)),
|
||||
& (1u32 << (pin as u32)),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue