From 7831e1d6484da51520f99f26082fb46367ffe358 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 1 Feb 2023 19:03:36 -0500 Subject: [PATCH] OK let's declare this code dead --- .../io/src/main/java/com/rusefi/io/DfuHelper.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/java_console/io/src/main/java/com/rusefi/io/DfuHelper.java b/java_console/io/src/main/java/com/rusefi/io/DfuHelper.java index 8d24486a23..66db429679 100644 --- a/java_console/io/src/main/java/com/rusefi/io/DfuHelper.java +++ b/java_console/io/src/main/java/com/rusefi/io/DfuHelper.java @@ -34,16 +34,6 @@ public class DfuHelper { RusEfiSignature controllerSignature = SignatureHelper.parse(signature); String fileSystemBundleTarget = BundleUtil.getBundleTarget(); if (fileSystemBundleTarget != null && controllerSignature != null) { -/* -todo: fix https://github.com/rusefi/rusefi/issues/5016 - String signatureWithPrefix; - if ("all".equals(s.getBundleTarget())) { - signatureWithPrefix = PREFIX; - } else { - signatureWithPrefix = PREFIX + "_" + s.getBundleTarget(); - } -*/ - // hack: QC firmware self-identifies as "normal" not QC firmware :( if (!fileSystemBundleTarget.equalsIgnoreCase(controllerSignature.getBundleTarget()) && !fileSystemBundleTarget.contains("_QC_")) { String message = String.format("You have \"%s\" controller does not look right to program it with \"%s\"", controllerSignature.getBundleTarget(), fileSystemBundleTarget);