Skip to main content

usb_run_task

Function usb_run_task 

Source
pub(crate) fn usb_run_task(
    usb: UsbDevice<'static, Driver<'static, USB>>,
) -> Result<SpawnToken<impl Sized>, SpawnError>
Expand description

Drive the embassy-usb device stack. Spawn this once at boot.