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

chore: fix incomplete enum change

[no changelog]
This commit is contained in:
M1nd3r 2024-12-19 18:03:19 +01:00
parent ab7293dd30
commit 0254571581
4 changed files with 12 additions and 6 deletions

View File

@ -39,8 +39,10 @@ message Failure {
Failure_PinMismatch = 12;
Failure_WipeCodeMismatch = 13;
Failure_InvalidSession = 14;
Failure_ThpUnallocatedSession=15;
Failure_InvalidProtocol=16;
Failure_ThpUnallocatedSession = 15;
Failure_InvalidProtocol = 16;
Failure_BufferError = 17;
Failure_DeviceIsBusy = 18;
Failure_FirmwareError = 99;
}
}

View File

@ -18,4 +18,6 @@ WipeCodeMismatch = 13
InvalidSession = 14
ThpUnallocatedSession = 15
InvalidProtocol = 16
BufferError = 17
DeviceIsBusy = 18
FirmwareError = 99

View File

@ -39,10 +39,10 @@ if TYPE_CHECKING:
PinMismatch = 12
WipeCodeMismatch = 13
InvalidSession = 14
DeviceIsBusy = 15
ThpUnallocatedSession = 16
InvalidProtocol = 17
BufferError = 18
ThpUnallocatedSession = 15
InvalidProtocol = 16
BufferError = 17
DeviceIsBusy = 18
FirmwareError = 99
class ButtonRequestType(IntEnum):

View File

@ -45,6 +45,8 @@ class FailureType(IntEnum):
InvalidSession = 14
ThpUnallocatedSession = 15
InvalidProtocol = 16
BufferError = 17
DeviceIsBusy = 18
FirmwareError = 99