mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-28 22:15:42 +00:00
18 lines
344 B
Python
18 lines
344 B
Python
# Automatically generated by pb2py
|
|
import protobuf as p
|
|
|
|
|
|
class FirmwareErase(p.MessageType):
|
|
FIELDS = {
|
|
1: ('length', p.UVarintType, 0),
|
|
}
|
|
MESSAGE_WIRE_TYPE = 6
|
|
|
|
def __init__(
|
|
self,
|
|
length: int = None,
|
|
**kwargs,
|
|
):
|
|
self.length = length
|
|
p.MessageType.__init__(self, **kwargs)
|