From a15730087c0bfa58dcd8f7b59177d80b0a2e761f Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 22 Sep 2016 22:11:45 +0200 Subject: [PATCH] VCP is the new CDC --- src/boot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot.py b/src/boot.py index ac8775163..55522e1fc 100644 --- a/src/boot.py +++ b/src/boot.py @@ -3,4 +3,4 @@ import sys if sys.platform in ['trezor', 'pyboard']: # stmhal import pyb # hid=(subclass, protocol, max_packet_len, polling_interval, report_desc) - pyb.usb_mode('CDC+HID', vid=0x1209, pid=0x53C1, hid=(0, 0, 64, 1, b'\x06\x00\xff\x09\x01\xa1\x01\x09\x20\x15\x00\x26\xff\x00\x75\x08\x95\x40\x81\x02\x09\x21\x15\x00\x26\xff\x00\x75\x08\x95\x40\x91\x02\xc0')) + pyb.usb_mode('VCP+HID', vid=0x1209, pid=0x53C1, hid=(0, 0, 64, 1, b'\x06\x00\xff\x09\x01\xa1\x01\x09\x20\x15\x00\x26\xff\x00\x75\x08\x95\x40\x81\x02\x09\x21\x15\x00\x26\xff\x00\x75\x08\x95\x40\x91\x02\xc0'))