diff --git a/src/utils/tune/TuneParser.ts b/src/utils/tune/TuneParser.ts index 7f8e2972..8880d41c 100644 --- a/src/utils/tune/TuneParser.ts +++ b/src/utils/tune/TuneParser.ts @@ -76,7 +76,7 @@ class TuneParser { this.isTuneValid = true; } - if (this.isSignatureSupported()) { + if (!this.isSignatureSupported()) { this.isTuneValid = false; } @@ -92,7 +92,7 @@ class TuneParser { } private isSignatureSupported(): boolean { - // return this.tune.details.signature.match(/^(speeduino|rusEFI) .+$/) === null; + // return this.tune.details.signature.match(/^(speeduino|rusEFI) .+$/) !== null; return true; } }