mirror of https://github.com/rusefi/RomRaider.git
updated reset ecu
git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@731 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
parent
42a740da5e
commit
7b843df3b6
|
@ -18,8 +18,10 @@ public final class ResetEcuAction extends AbstractAction {
|
||||||
|
|
||||||
public void actionPerformed(ActionEvent actionEvent) {
|
public void actionPerformed(ActionEvent actionEvent) {
|
||||||
if (showConfirmation() == OK_OPTION) {
|
if (showConfirmation() == OK_OPTION) {
|
||||||
logger.stopLogging();
|
boolean logging = logger.isLogging();
|
||||||
|
if (logging) logger.stopLogging();
|
||||||
resetEcu();
|
resetEcu();
|
||||||
|
if (logging) logger.startLogging();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue