stm32/main.c: no need to enable USB in boot.py

This commit is contained in:
Peter D. Gray 2018-04-10 09:03:42 -04:00
parent 1395646c49
commit ddfabf724c
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 90b9961963b625db0f2aabfe8e5e508b1f4fb7f1
Subproject commit d2bcfda543d3b99361e44112aca929225bdcc07f

View File

@ -137,7 +137,7 @@ static const char fresh_boot_py[] =
"import pyb\r\n"
"#pyb.main('main.py') # main script to run after this one\r\n"
#if MICROPY_HW_ENABLE_USB
"pyb.usb_mode('VCP+MSC') # act as a serial and a storage device\r\n"
"#pyb.usb_mode('VCP+MSC') # act as a serial and a storage device\r\n"
"#pyb.usb_mode('VCP+HID') # act as a serial device and a mouse\r\n"
#endif
;