I bet device manager has command line interface fix #3547

This commit is contained in:
rusefillc 2021-11-16 12:16:41 -05:00
parent 3748bf5ad0
commit c951d1d0c0
2 changed files with 8 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import java.net.URL;
import java.util.concurrent.atomic.AtomicReference;
public class rusEFIVersion {
public static final int CONSOLE_VERSION = 20211114;
public static final int CONSOLE_VERSION = 20211116;
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
public static long classBuildTimeMillis() {

View File

@ -125,8 +125,14 @@ public class DfuFlasher {
}
private static void appendDeviceReport(StatusWindow wnd) {
for (String line : getDevicesReport())
for (String line : getDevicesReport()) {
if (line.contains("STM Device in DFU Mode")) {
wnd.appendMsg(" ******************************************************************");
wnd.appendMsg(" ************* YOU NEED TO REMOVE LEGACY DFU DRIVER ***************");
wnd.appendMsg(" ******************************************************************");
}
wnd.appendMsg("Devices: " + line);
}
}
private static void timeForDfuSwitch(StatusWindow wnd) {