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;
|
int lock = engineConfiguration->tuneHidingKey;
|
||||||
bool isLocked = lock > 0;
|
bool isLocked = lock > 0;
|
||||||
if (isLocked) {
|
if (isLocked) {
|
||||||
criticalError("password protected");
|
criticalError("Tune is password protected. Please use console to unlock tune.");
|
||||||
}
|
}
|
||||||
return isLocked;
|
return isLocked;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4615,6 +4615,7 @@ dialog = tcuControls, "Transmission Settings"
|
||||||
field = rethrowHardFault, rethrowHardFault
|
field = rethrowHardFault, rethrowHardFault
|
||||||
field = canGpioType, canGpioType
|
field = canGpioType, canGpioType
|
||||||
field = "I understand ECU Locking", yesUnderstandLocking
|
field = "I understand ECU Locking", yesUnderstandLocking
|
||||||
|
field = "! Use console for unlocking"
|
||||||
field = "Tune read/write password", tuneHidingKey, { yesUnderstandLocking == 1 }
|
field = "Tune read/write password", tuneHidingKey, { yesUnderstandLocking == 1 }
|
||||||
field = verboseQuad, verboseQuad
|
field = verboseQuad, verboseQuad
|
||||||
; field = useEeprom, useEeprom
|
; field = useEeprom, useEeprom
|
||||||
|
|
Loading…
Reference in New Issue