# HG changeset patch # User Tom Sutcliffe # Date 1284997594 -3600 # Node ID 6a2083f7eeb868f5526e42181bb65cd0b90db6b7 # Parent 60f47003f4b197d7d36fcd7a8e3004bc21c6dac0 Quick hack for timing issue with USB enumeration. diff -r 60f47003f4b1 -r 6a2083f7eeb8 plugins/consoles/vt100cons/src/usb/vtc_usb.cpp --- a/plugins/consoles/vt100cons/src/usb/vtc_usb.cpp Mon Sep 20 15:37:51 2010 +0100 +++ b/plugins/consoles/vt100cons/src/usb/vtc_usb.cpp Mon Sep 20 16:46:34 2010 +0100 @@ -51,6 +51,7 @@ { iUsb.TryStart(portConfig.iPersonality, stat); User::WaitForRequest(stat); + User::After(500000); // Ugh need to wait for the TryStart to finish. There's probably some other async notification I could wait on but I'm in a hurry to get this working... Message(ErrOrDebug(stat.Int()), _L("Starting USB personality %d returned %d"), portConfig.iPersonality, stat.Int()); }