diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-10-21 20:43:14 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-21 20:43:14 +0000 |
| commit | 495ca6108ce6febb06ae5438834935541be5a04f (patch) | |
| tree | 5e3ee7d41dc4f41a4d31da8307d583258c56104c | |
| parent | 73d06dd67b3ee6f61fb05c9cad9a43b6d388bc36 (diff) | |
| parent | f45d34ce7c5663da9e3c96ab698e8a84dbafb4ac (diff) | |
Merge #1020
1020: Fix mistaken EP_IN_WAKERS r=Dirbaio a=mkj
I'm not totally certain, but this looks like a typo?
Co-authored-by: Matt Johnston <[email protected]>
| -rw-r--r-- | embassy-rp/src/usb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-rp/src/usb.rs b/embassy-rp/src/usb.rs index 7a83dcb4a..6dc90b98e 100644 --- a/embassy-rp/src/usb.rs +++ b/embassy-rp/src/usb.rs | |||
| @@ -522,7 +522,7 @@ impl<'d, T: Instance> driver::Endpoint for Endpoint<'d, T, In> { | |||
| 522 | trace!("wait_enabled IN WAITING"); | 522 | trace!("wait_enabled IN WAITING"); |
| 523 | let index = self.info.addr.index(); | 523 | let index = self.info.addr.index(); |
| 524 | poll_fn(|cx| { | 524 | poll_fn(|cx| { |
| 525 | EP_OUT_WAKERS[index].register(cx.waker()); | 525 | EP_IN_WAKERS[index].register(cx.waker()); |
| 526 | let val = unsafe { T::dpram().ep_in_control(self.info.addr.index() - 1).read() }; | 526 | let val = unsafe { T::dpram().ep_in_control(self.info.addr.index() - 1).read() }; |
| 527 | if val.enable() { | 527 | if val.enable() { |
| 528 | Poll::Ready(()) | 528 | Poll::Ready(()) |
