Function flipper0::ffi::furi_hal_usb_set_config
source · pub unsafe extern "C" fn furi_hal_usb_set_config(
new_if: *mut FuriHalUsbInterface,
ctx: *mut c_void
) -> bool
Expand description
Set USB device configuration
@param mode new USB device mode @param ctx context passed to device mode init function @return true - mode switch started, false - mode switch is locked