mirror of https://github.com/rusefi/rusefi.git
minor usability whistle
This commit is contained in:
parent
ee84738774
commit
5ea649cc3b
|
@ -6,7 +6,7 @@ import java.net.URL;
|
|||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
public class rusEFIVersion {
|
||||
public static final int CONSOLE_VERSION = 20221111;
|
||||
public static final int CONSOLE_VERSION = 20221127;
|
||||
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||
|
||||
public static long classBuildTimeMillis() {
|
||||
|
|
|
@ -155,6 +155,7 @@ public class DfuFlasher {
|
|||
// looks like sometimes we are not catching the last line of the response? 'Upgrade' happens before 'Verify'
|
||||
wnd.append("SUCCESS!");
|
||||
wnd.append("Please power cycle device to exit DFU mode");
|
||||
wnd.setSuccessState();
|
||||
} else if (stdout.toString().contains("Target device not found")) {
|
||||
wnd.append("ERROR: Device not connected or STM32 Bootloader driver not installed?");
|
||||
appendWindowsVersion(wnd);
|
||||
|
|
|
@ -60,6 +60,10 @@ public class StatusWindow implements StatusConsumer {
|
|||
copyContentToClipboard();
|
||||
}
|
||||
|
||||
public void setSuccessState() {
|
||||
logTextArea.setBackground(LIGHT_GREEN);
|
||||
}
|
||||
|
||||
public JFrame getFrame() {
|
||||
return frameHelper.getFrame();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue