1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +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

@ -41,6 +41,8 @@ message Failure {
Failure_InvalidSession = 14; Failure_InvalidSession = 14;
Failure_ThpUnallocatedSession = 15; Failure_ThpUnallocatedSession = 15;
Failure_InvalidProtocol = 16; Failure_InvalidProtocol = 16;
Failure_BufferError = 17;
Failure_DeviceIsBusy = 18;
Failure_FirmwareError = 99; Failure_FirmwareError = 99;
} }
} }

View File

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

View File

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

View File

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