stm32/main.c: no need to enable USB in boot.py
This commit is contained in:
parent
1395646c49
commit
ddfabf724c
@ -1 +1 @@
|
||||
Subproject commit 90b9961963b625db0f2aabfe8e5e508b1f4fb7f1
|
||||
Subproject commit d2bcfda543d3b99361e44112aca929225bdcc07f
|
||||
@ -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
|
||||
;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user