different status detection

This commit is contained in:
rusefi 2020-05-22 17:23:55 -04:00
parent 160d034635
commit d700f900e7
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public class DfuFlasher {
String errorResponse = ExecHelper.executeCommand(FirmwareFlasher.BINARY_LOCATION,
FirmwareFlasher.BINARY_LOCATION + File.separator + getDfuCommand(),
DFU_BINARY, wnd, stdout);
if (stdout.toString().contains("Verify successful")) {
if (stdout.toString().contains("Verify successful") || stdout.toString().contains("Upgrade successful")) {
wnd.appendMsg("SUCCESS!");
} else {
if (stdout.length() == 0 && errorResponse.length() == 0) {