need Proteus QC

This commit is contained in:
rusefi 2022-10-01 22:45:40 -04:00
parent 1804b40485
commit 9115591703
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ public class DfuHelper {
signatureWithPrefix = PREFIX + "_" + s.getBundle();
}
if (!bundleName.equalsIgnoreCase(signatureWithPrefix)) {
// hack: QC firmare self-identifies as "normal" not QC firmware :(
if (!bundleName.equalsIgnoreCase(signatureWithPrefix) && !bundleName.contains("_QC_")) {
String message = String.format("You have \"%s\" controller does not look right to program it with \"%s\"", s.getBundle(), bundleName);
log.info(message);