mirror of
https://github.com/HEYAHONG/CoreBoard-001
synced 2025-05-08 18:39:51 +08:00
[ExtBoard] 延长等待驱动加载的时间,使USB识别更稳定
This commit is contained in:
parent
b32656ed32
commit
cd2653619a
@ -341,7 +341,7 @@ static int libusb_hotplug_callback(libusb_context *ctx,libusb_device *device,lib
|
||||
case LIBUSB_CLASS_MISCELLANEOUS:
|
||||
{
|
||||
//等待某些驱动加载(如块设备驱动)
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user