This commit is contained in:
rusefi 2020-05-22 17:52:37 -04:00
parent d700f900e7
commit b4f0d78a33
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ public class DfuFlasher {
String errorResponse = ExecHelper.executeCommand(FirmwareFlasher.BINARY_LOCATION,
FirmwareFlasher.BINARY_LOCATION + File.separator + getDfuCommand(),
DFU_BINARY, wnd, stdout);
// looks like sometimes we are not catching the last line of the response? 'Upgrade' happens before 'Verify'
if (stdout.toString().contains("Verify successful") || stdout.toString().contains("Upgrade successful")) {
wnd.appendMsg("SUCCESS!");
} else {