summaryrefslogtreecommitdiffstatshomepage
path: root/examples/SDdatalogger
diff options
context:
space:
mode:
authorPhilip Potter <philip.g.potter@gmail.com>2016-08-28 18:19:08 +0100
committerDamien George <damien.p.george@gmail.com>2016-08-29 15:17:34 +1000
commitc777b6950eed1b48bb88fb8b343eeed85b13560f (patch)
tree91cc4108249ae001357879d434ea8e5c157a558f /examples/SDdatalogger
parent0f8b1ba8a2c3588f319f6b426aa07e97d2e17b24 (diff)
downloadmicropython-c777b6950eed1b48bb88fb8b343eeed85b13560f.tar.gz
micropython-c777b6950eed1b48bb88fb8b343eeed85b13560f.zip
stmhal: Update boot.py files to use VCP instead of CDC.
Diffstat (limited to 'examples/SDdatalogger')
-rw-r--r--examples/SDdatalogger/boot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/SDdatalogger/boot.py b/examples/SDdatalogger/boot.py
index aa943fde93..4ac94bbaa4 100644
--- a/examples/SDdatalogger/boot.py
+++ b/examples/SDdatalogger/boot.py
@@ -16,10 +16,10 @@ pyb.LED(3).off() # indicate that we finished waiting for the swit
pyb.LED(4).on() # indicate that we are selecting the mode
if switch_value:
- pyb.usb_mode('CDC+MSC')
+ pyb.usb_mode('VCP+MSC')
pyb.main('cardreader.py') # if switch was pressed, run this
else:
- pyb.usb_mode('CDC+HID')
+ pyb.usb_mode('VCP+HID')
pyb.main('datalogger.py') # if switch wasn't pressed, run this
pyb.LED(4).off() # indicate that we finished selecting the mode