mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix missing dir api
This commit is contained in:
parent
7943e08c44
commit
9bcb65449e
1 changed files with 1 additions and 1 deletions
|
|
@ -2460,7 +2460,7 @@ impl UsbBus for CorigineWrapper {
|
||||||
" ******* set stalled {:?}<-{:?}, {}",
|
" ******* set stalled {:?}<-{:?}, {}",
|
||||||
ep_addr.index(),
|
ep_addr.index(),
|
||||||
stalled,
|
stalled,
|
||||||
if dir { "OUT" } else { "IN" }
|
if ep_addr.is_in() { "OUT" } else { "IN" }
|
||||||
);
|
);
|
||||||
self.core().handle_set_stalled(ep_addr.index() as u8, ep_addr.is_in(), stalled);
|
self.core().handle_set_stalled(ep_addr.index() as u8, ep_addr.is_in(), stalled);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue