diff options
author | tedbullock <tedbullock> | 2007-02-23 20:16:37 +0000 |
---|---|---|
committer | tedbullock <tedbullock> | 2007-02-23 20:16:37 +0000 |
commit | 2b45f2e72b7d1bd5cd2bb60607837e416801338f (patch) | |
tree | ae9552e1d705066e313fbfffd9807aecdb003301 /examples/detect.c | |
parent | 95d1bc0b49d5049a9d45c37e80dbf2867d8f3c6e (diff) | |
download | libmtp-2b45f2e72b7d1bd5cd2bb60607837e416801338f.tar.gz |
Remove single device libusb-glue code since it has been replaced with the multiple device code now
Diffstat (limited to 'examples/detect.c')
-rw-r--r-- | examples/detect.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/examples/detect.c b/examples/detect.c index 91e4971..243ea58 100644 --- a/examples/detect.c +++ b/examples/detect.c @@ -78,16 +78,18 @@ int main (int argc, char **argv) } if (probeonly) { - uint16_t vid; - uint16_t pid; - - ret = LIBMTP_Detect_Descriptor(&vid, &pid); - if (ret > 0) { - printf("DETECTED MTP DEVICE WITH VID:%04x, PID:%04X\n", vid, pid); - exit(0); - } else { - exit(1); - } +// uint16_t vid; +// uint16_t pid; +// +// ret = LIBMTP_Detect_Descriptor(&vid, &pid); +// if (ret > 0) { +// printf("DETECTED MTP DEVICE WITH VID:%04x, PID:%04X\n", vid, pid); +// exit(0); +// } else { +// exit(1); +// } + fprintf(stdout, "LIBMTP Panic: Probing has been disabled until it has " + "been refactored to\nuse multiple devices\n"); } fprintf(stdout, "Attempting to connect device(s)\n"); |