From a8c40e51ff31de1529ebb3e7b0ca1585eb589500 Mon Sep 17 00:00:00 2001 From: "Peter D. Gray" Date: Tue, 10 Apr 2018 09:12:03 -0400 Subject: [PATCH] stm32/main.c: no need to enable USB in boot.py, see #3689 --- ports/stm32/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/stm32/main.c b/ports/stm32/main.c index 196c79d7e..d507b6033 100644 --- a/ports/stm32/main.c +++ b/ports/stm32/main.c @@ -140,7 +140,7 @@ MP_WEAK MP_NOINLINE bool init_flash_fs(uint reset_mode) { "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 ;