Patch STM USB code