diff options
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>, |
