remove device mount and unmount callback

This commit is contained in:
sakimisu
2022-11-21 21:59:37 +08:00
parent 9291c1459c
commit 61e82e0eeb
4 changed files with 1 additions and 22 deletions

View File

@@ -511,7 +511,6 @@ static void usbh_hub_events(struct usbh_hub *hub)
}
USB_LOG_INFO("Device on Hub %u, Port %u disconnected\r\n", hub->index, port + 1);
usbh_device_unmount_done_callback(child);
child->config.config_desc.bNumInterfaces = 0;
}
}