diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-24 01:12:04 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-24 01:12:04 +0000 |
commit | 2ee55c312d35f17216c0e770e029a2044863bdfd (patch) | |
tree | c6b08abb6896b3466d98a032fdad8bb072c0639c /stm/main.c | |
parent | 790eed6f93dc12df40715ad1062b5ce01badcbd9 (diff) | |
download | micropython-2ee55c312d35f17216c0e770e029a2044863bdfd.tar.gz micropython-2ee55c312d35f17216c0e770e029a2044863bdfd.zip |
stm: Add option to pyb_usb_dev_init() to use USB HID interface.
With this option selected, only HID on its own works, not VCP+HID.
Diffstat (limited to 'stm/main.c')
-rw-r--r-- | stm/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c index 2757e7665d..8bfd6e63e9 100644 --- a/stm/main.c +++ b/stm/main.c @@ -577,7 +577,7 @@ soft_reset: pyb_usb_host_init(); #elif defined(USE_DEVICE_MODE) // USB device - pyb_usb_dev_init(); + pyb_usb_dev_init(PYB_USB_DEV_VCP_MSC); #endif // run main script |