1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

chore(core): fill T3T1 model full name

[no changelog]
This commit is contained in:
tychovrahe 2024-03-04 16:12:11 +01:00 committed by TychoVrahe
parent 39b7b22777
commit ffccf849eb
3 changed files with 7 additions and 3 deletions

View File

@ -3,8 +3,8 @@
#include "sizedefs.h"
#define MODEL_NAME "T3T1"
#define MODEL_FULL_NAME "Trezor T3T1"
#define MODEL_NAME "Safe 5"
#define MODEL_FULL_NAME "Trezor Safe 5"
#define MODEL_INTERNAL_NAME "T3T1"
#define MODEL_INTERNAL_NAME_TOKEN T3T1
#define MODEL_INTERNAL_NAME_QSTR MP_QSTR_T3T1

View File

@ -48,6 +48,7 @@ MODEL_CHOICE = ChoiceType(
"T1B1": models.T1B1,
"T2T1": models.T2T1,
"T2B1": models.T2B1,
"T3T1": models.T3T1,
# aliases
"1": models.T1B1,
"one": models.T1B1,
@ -55,6 +56,8 @@ MODEL_CHOICE = ChoiceType(
"r": models.T2B1,
"safe3": models.T2B1,
"s3": models.T2B1,
"safe5": models.T3T1,
"s5": models.T3T1,
},
case_sensitive=False,
)

View File

@ -64,7 +64,7 @@ T2B1 = TrezorModel(
)
T3T1 = TrezorModel(
name="T3T1",
name="Safe 5",
internal_name="T3T1",
minimum_version=(2, 1, 0),
vendors=VENDORS,
@ -96,6 +96,7 @@ TREZOR_ONE = T1B1
TREZOR_T = T2T1
TREZOR_R = T2B1
TREZOR_SAFE3 = T2B1
TREZOR_SAFE5 = T3T1
TREZOR_DISC1 = DISC1
TREZOR_DISC2 = DISC2