console to handle Matching not good #3232
This commit is contained in:
parent
7a74b14c25
commit
c0c8fff952
|
@ -6,7 +6,7 @@ import java.net.URL;
|
|||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
public class rusEFIVersion {
|
||||
public static final int CONSOLE_VERSION = 20210906;
|
||||
public static final int CONSOLE_VERSION = 20210911;
|
||||
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||
|
||||
public static long classBuildTimeMillis() {
|
||||
|
|
|
@ -105,7 +105,11 @@ public class DfuFlasher {
|
|||
}
|
||||
wnd.appendMsg(s);
|
||||
}, stdout);
|
||||
if (stdout.toString().contains("Verify successful") || stdout.toString().contains("Upgrade successful")) {
|
||||
if (stdout.toString().contains("Matching not good")) {
|
||||
// looks like sometimes we are not catching the last line of the response? 'Upgrade' happens before 'Verify'
|
||||
wnd.appendMsg("VERIFICATION ERROR maybe nDBANK issue?");
|
||||
wnd.appendMsg("https://github.com/rusefi/rusefi/wiki/HOWTO-nDBANK");
|
||||
} else if (stdout.toString().contains("Verify successful") || stdout.toString().contains("Upgrade successful")) {
|
||||
// looks like sometimes we are not catching the last line of the response? 'Upgrade' happens before 'Verify'
|
||||
wnd.appendMsg("SUCCESS!");
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue