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:
parent
ab7293dd30
commit
0254571581
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
core/src/trezor/enums/FailureType.py
generated
2
core/src/trezor/enums/FailureType.py
generated
@ -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
|
||||||
|
8
core/src/trezor/enums/__init__.py
generated
8
core/src/trezor/enums/__init__.py
generated
@ -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):
|
||||||
|
2
python/src/trezorlib/messages.py
generated
2
python/src/trezorlib/messages.py
generated
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user