Skip to content

Commit

Permalink
Password protection makes ECU go CRITICAL #5622
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Oct 19, 2023
1 parent 4894c8e commit 1537c95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/controllers/algo/engine2.cpp
Expand Up @@ -237,7 +237,7 @@ bool isLockedFromUser() {
int lock = engineConfiguration->tuneHidingKey;
bool isLocked = lock > 0;
if (isLocked) {
criticalError("password protected");
criticalError("Tune is password protected. Please use console to unlock tune.");
}
return isLocked;
}
Expand Down
1 change: 1 addition & 0 deletions firmware/tunerstudio/rusefi.input
Expand Up @@ -4615,6 +4615,7 @@ dialog = tcuControls, "Transmission Settings"
field = rethrowHardFault, rethrowHardFault
field = canGpioType, canGpioType
field = "I understand ECU Locking", yesUnderstandLocking
field = "! Use console for unlocking"
field = "Tune read/write password", tuneHidingKey, { yesUnderstandLocking == 1 }
field = verboseQuad, verboseQuad
; field = useEeprom, useEeprom
Expand Down

0 comments on commit 1537c95

Please sign in to comment.