1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-17 11:58:13 +00:00

use v1 transport for T2 bootloader (for now)

This commit is contained in:
Pavol Rusnak 2017-04-12 17:54:34 +02:00
parent 29348f4098
commit bee9af1f90
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -142,14 +142,14 @@ class HidTransportV2(_HidTransport, TransportV2):
DEVICE_IDS = [ DEVICE_IDS = [
(0x534c, 0x0001), # TREZOR (0x534c, 0x0001), # TREZOR
(0x1209, 0x53C0), # TREZORv2 Bootloader (0x1209, 0x53c0), # TREZORv2 Bootloader
(0x1209, 0x53C1), # TREZORv2 (0x1209, 0x53c1), # TREZORv2
] ]
DEVICE_TRANSPORTS = { DEVICE_TRANSPORTS = {
(0x534c, 0x0001): HidTransportV1, # TREZOR (0x534c, 0x0001): HidTransportV1, # TREZOR
(0x1209, 0x53C0): HidTransportV2, # TREZORv2 Bootloader (0x1209, 0x53c0): HidTransportV1, # TREZORv2 Bootloader
(0x1209, 0x53C1): HidTransportV2, # TREZORv2 (0x1209, 0x53c1): HidTransportV2, # TREZORv2
} }
# Backward compatible wrapper, decides for proper transport # Backward compatible wrapper, decides for proper transport