1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-22 19:15:43 +00:00

optiga lock style

This commit is contained in:
tychovrahe 2025-03-12 02:24:20 +01:00
parent 54988948af
commit 5a5db1be95

View File

@ -115,10 +115,10 @@ static void prodtest_otp_variant_write(cli_t* cli) {
#ifdef USE_OPTIGA
optiga_locked_status optiga_status = get_optiga_locked_status(cli);
// if (optiga_status == OPTIGA_LOCKED_FALSE) {
// cli_error(cli, CLI_ERROR, "Optiga not locked");
// return;
// }
// if (optiga_status == OPTIGA_LOCKED_FALSE) {
// cli_error(cli, CLI_ERROR, "Optiga not locked");
// return;
// }
if (optiga_status != OPTIGA_LOCKED_TRUE) {
// Error reported by get_optiga_locked_status().