From 2128b9a18ce1875fe6f79d8bd163e81f9b9a68f8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 26 Feb 2012 01:22:29 +0000 Subject: do not wait 10s for USB probing when in debug mode --- mdk-stage1/probing.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c index 50fd9d917..d841941b3 100644 --- a/mdk-stage1/probing.c +++ b/mdk-stage1/probing.c @@ -555,7 +555,9 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u if (module_already_present("ieee1394")) my_insmod("sbp2", MEDIA_ADAPTERS, NULL, 0); wait_message("Detecting USB mass-storage devices."); +#ifndef DEBUG sleep(10); /* sucking background work */ +#endif remove_wait_message(); } } -- cgit v1.2.1