r1188 - trunk/src/host/dfu-util/src
laforge at sita.openmoko.org
laforge at sita.openmoko.org
Thu Mar 1 17:30:57 CET 2007
Author: laforge
Date: 2007-03-01 17:30:56 +0100 (Thu, 01 Mar 2007)
New Revision: 1188
Modified:
trunk/src/host/dfu-util/src/main.c
Log:
print interface info once we have selected the one that we actually want to flash
Modified: trunk/src/host/dfu-util/src/main.c
===================================================================
--- trunk/src/host/dfu-util/src/main.c 2007-03-01 15:56:01 UTC (rev 1187)
+++ trunk/src/host/dfu-util/src/main.c 2007-03-01 16:30:56 UTC (rev 1188)
@@ -432,8 +432,6 @@
if (!get_first_dfu_if(&_rt_dif))
exit(1);
- print_dfu_if(&_rt_dif, NULL);
-
if (!_rt_dif.flags & DFU_IFF_DFU) {
/* In the 'first round' during runtime mode, there can only be one
* DFU Interface descriptor according to the DFU Spec. */
@@ -511,6 +509,8 @@
* procedure */
}
+ print_dfu_if(dif, NULL);
+
num_ifs = count_dfu_interfaces(dif->dev);
if (num_ifs < 0) {
fprintf(stderr, "No DFU Interface after RESET?!?\n");
More information about the commitlog
mailing list