From 2cff58f4f0aad7d2154f1ae100bbfc6352c0d819 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Tue, 13 Dec 2016 16:03:57 +0100 Subject: [PATCH] boot: comment out, usb init will be in C for now --- src/boot.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/boot.py b/src/boot.py index 55522e1fc7..07322fb1e7 100644 --- a/src/boot.py +++ b/src/boot.py @@ -1,6 +1,6 @@ -import sys +# import sys -if sys.platform in ['trezor', 'pyboard']: # stmhal - import pyb - # hid=(subclass, protocol, max_packet_len, polling_interval, report_desc) - 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')) +# if sys.platform in ['trezor', 'pyboard']: # stmhal +# import pyb +# # hid=(subclass, protocol, max_packet_len, polling_interval, report_desc) +# 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'))