summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/usb.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-11-27 16:58:31 +0000
committerDamien George <damien.p.george@gmail.com>2014-11-27 16:58:31 +0000
commit5cbc9e0db0f01e1e643e8c091a536b54372df5bd (patch)
tree76d4375c28234440496278bdb937805f230715f0 /stmhal/usb.h
parent6f5eb84c1959b7929824a881a0438d0eee23d31a (diff)
downloadmicropython-5cbc9e0db0f01e1e643e8c091a536b54372df5bd.tar.gz
micropython-5cbc9e0db0f01e1e643e8c091a536b54372df5bd.zip
stmhal: Reduce coupling between USB driver and readline.
This makes it easier to re-use readline.c and pyexec.c from stmhal in other ports.
Diffstat (limited to 'stmhal/usb.h')
-rw-r--r--stmhal/usb.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/stmhal/usb.h b/stmhal/usb.h
index 168bfbd5fe..e0bfe9a76e 100644
--- a/stmhal/usb.h
+++ b/stmhal/usb.h
@@ -24,13 +24,6 @@
* THE SOFTWARE.
*/
-#define VCP_CHAR_NONE (0)
-#define VCP_CHAR_CTRL_A (1)
-#define VCP_CHAR_CTRL_B (2)
-#define VCP_CHAR_CTRL_C (3)
-#define VCP_CHAR_CTRL_D (4)
-#define VCP_CHAR_CTRL_E (5)
-
typedef enum {
USB_DEVICE_MODE_CDC_MSC,
USB_DEVICE_MODE_CDC_HID,