diff options
| author | Jomer.Dev <[email protected]> | 2024-01-08 00:24:15 +0100 |
|---|---|---|
| committer | Jomer.Dev <[email protected]> | 2024-01-08 00:24:15 +0100 |
| commit | 03bf72f690f341b9ca7dbcd329df7571fe47d014 (patch) | |
| tree | 3f881b791eafed0ace62dc1409be1d0bd431d1e4 /embassy-usb-logger | |
| parent | f0c750422970db71304101fca821a0c254571604 (diff) | |
Better explanation
Diffstat (limited to 'embassy-usb-logger')
| -rw-r--r-- | embassy-usb-logger/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embassy-usb-logger/src/lib.rs b/embassy-usb-logger/src/lib.rs index 5142d9073..f197c6874 100644 --- a/embassy-usb-logger/src/lib.rs +++ b/embassy-usb-logger/src/lib.rs | |||
| @@ -109,7 +109,8 @@ impl<const N: usize> UsbLogger<N> { | |||
| 109 | } | 109 | } |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | // Creates the futures needed for the logger from a given class | 112 | /// Creates the futures needed for the logger from a given class |
| 113 | /// This can be used in cases where the usb device is already in use for another connection | ||
| 113 | pub async fn create_future_from_class<'d, D>(&'d self, class: CdcAcmClass<'d, D> ) | 114 | pub async fn create_future_from_class<'d, D>(&'d self, class: CdcAcmClass<'d, D> ) |
| 114 | where | 115 | where |
| 115 | D: Driver<'d>, | 116 | D: Driver<'d>, |
