diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-11-27 23:13:41 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-27 23:13:41 +0000 |
| commit | cea29d7de3169cf2212128e0386e5d57053cc12d (patch) | |
| tree | 920623238d8b5341f00720359a145b68c5519bd3 /embassy-usb/src | |
| parent | 805b885de62f7028ffcec86b00014bf72749a871 (diff) | |
| parent | 787e5d49078de4b09919711e6d9870a7c2a86b32 (diff) | |
Merge #1079
1079: Async function in trait cleanup r=Dirbaio a=yodaldevoid
Some issues I ran across after the AFIT stuff was merged.
Co-authored-by: Gabriel Smith <[email protected]>
Co-authored-by: Dario Nieuwenhuis <[email protected]>
Diffstat (limited to 'embassy-usb/src')
| -rw-r--r-- | embassy-usb/src/class/hid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-usb/src/class/hid.rs b/embassy-usb/src/class/hid.rs index 4d1fa995f..b967aba0e 100644 --- a/embassy-usb/src/class/hid.rs +++ b/embassy-usb/src/class/hid.rs | |||
| @@ -299,7 +299,7 @@ impl<'d, D: Driver<'d>, const N: usize> HidReader<'d, D, N> { | |||
| 299 | /// **Note:** If `N` > the maximum packet size of the endpoint (i.e. output | 299 | /// **Note:** If `N` > the maximum packet size of the endpoint (i.e. output |
| 300 | /// reports may be split across multiple packets) and this method's future | 300 | /// reports may be split across multiple packets) and this method's future |
| 301 | /// is dropped after some packets have been read, the next call to `read()` | 301 | /// is dropped after some packets have been read, the next call to `read()` |
| 302 | /// will return a [`ReadError::SyncError()`]. The range in the sync error | 302 | /// will return a [`ReadError::Sync`]. The range in the sync error |
| 303 | /// indicates the portion `buf` that was filled by the current call to | 303 | /// indicates the portion `buf` that was filled by the current call to |
| 304 | /// `read()`. If the dropped future used the same `buf`, then `buf` will | 304 | /// `read()`. If the dropped future used the same `buf`, then `buf` will |
| 305 | /// contain the full report. | 305 | /// contain the full report. |
