[ExtBoard] 延长等待驱动加载的时间,使USB识别更稳定

This commit is contained in:
HEYAHONG 2024-05-11 16:39:15 +08:00
parent b32656ed32
commit cd2653619a
No known key found for this signature in database
GPG Key ID: 97E3E469FE2C920B

View File

@ -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: