mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 21:48:13 +00:00
6efe4e4418
drop `from future import` in __init__.py, import just the name, not *
13 lines
330 B
Python
13 lines
330 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
|
|
|
|
class Ping(p.MessageType):
|
|
FIELDS = {
|
|
1: ('message', p.UnicodeType, 0),
|
|
2: ('button_protection', p.BoolType, 0),
|
|
3: ('pin_protection', p.BoolType, 0),
|
|
4: ('passphrase_protection', p.BoolType, 0),
|
|
}
|
|
MESSAGE_WIRE_TYPE = 1
|