diff --git a/android/app/src/main/java/com/rusefi/app/DfuUpload.java b/android/app/src/main/java/com/rusefi/app/DfuUpload.java index 4a70b4808c..87a28bb4f0 100644 --- a/android/app/src/main/java/com/rusefi/app/DfuUpload.java +++ b/android/app/src/main/java/com/rusefi/app/DfuUpload.java @@ -40,7 +40,7 @@ public class DfuUpload { @Override public void run() { try { - ConnectionAndMeta c = new ConnectionAndMeta(BUNDLE_FILE).invoke(); + ConnectionAndMeta c = new ConnectionAndMeta(BUNDLE_FILE).invoke(ConnectionAndMeta.BASE_URL_LATEST); ConnectionAndMeta.downloadFile(localFullFile, c, new ConnectionAndMeta.DownloadProgressListener() { @Override public void onPercentage(final int currentProgress) { diff --git a/java_console/ui/src/main/java/com/rusefi/tools/NetworkConnectorStartup.java b/java_console/ui/src/main/java/com/rusefi/tools/NetworkConnectorStartup.java index f330135ec0..97782b7494 100644 --- a/java_console/ui/src/main/java/com/rusefi/tools/NetworkConnectorStartup.java +++ b/java_console/ui/src/main/java/com/rusefi/tools/NetworkConnectorStartup.java @@ -39,7 +39,7 @@ public class NetworkConnectorStartup { log.error(message); System.out.println(message); // let's give wrapper bash script a chance to update software - System.exit(NetworkConnectorContext.UPDATE_FIRMWARE_EXIT_CODE); + System.exit(NetworkConnectorContext.UPDATE_RELEASE_FIRMWARE_EXIT_CODE); } } catch (IOException e) { log.error("Ignoring", e);