mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix another location where scalar5 arg parsing is incorrect
This commit is contained in:
parent
da0d08f7b6
commit
64c8eb71db
1 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ impl IoxHal {
|
|||
0,
|
||||
),
|
||||
) {
|
||||
Ok(xous::Result::Scalar5(value, _, _, _, _)) => {
|
||||
Ok(xous::Result::Scalar5(_, value, _, _, _)) => {
|
||||
if value & (1 << pin as usize) != 0 {
|
||||
IoxValue::High
|
||||
} else {
|
||||
|
|
@ -100,7 +100,7 @@ impl IoxHal {
|
|||
0,
|
||||
),
|
||||
) {
|
||||
Ok(xous::Result::Scalar5(value, _, _, _, _)) => value as u32,
|
||||
Ok(xous::Result::Scalar5(_, value, _, _, _)) => value as u32,
|
||||
_ => panic!("Internal Error: Couldn't get GPIO pin value"),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue