Password protection makes ECU go CRITICAL #5622
This commit is contained in:
parent
4894c8e77c
commit
1537c9560b
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue