aboutsummaryrefslogtreecommitdiff
path: root/stmhal
diff options
context:
space:
mode:
authorPhilip Potter2016-08-28 18:19:08 +0100
committerDamien George2016-08-29 15:17:34 +1000
commitc777b6950eed1b48bb88fb8b343eeed85b13560f (patch)
tree91cc4108249ae001357879d434ea8e5c157a558f /stmhal
parent0f8b1ba8a2c3588f319f6b426aa07e97d2e17b24 (diff)
stmhal: Update boot.py files to use VCP instead of CDC.
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index 30dddaf98..32baae532 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -137,8 +137,8 @@ static const char fresh_boot_py[] =
"import machine\r\n"
"import pyb\r\n"
"#pyb.main('main.py') # main script to run after this one\r\n"
-"#pyb.usb_mode('CDC+MSC') # act as a serial and a storage device\r\n"
-"#pyb.usb_mode('CDC+HID') # act as a serial device and a mouse\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"
;
static const char fresh_main_py[] =