summaryrefslogtreecommitdiffstatshomepage
path: root/teensy/usb.c
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 /teensy/usb.c
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 'teensy/usb.c')
-rw-r--r--teensy/usb.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/teensy/usb.c b/teensy/usb.c
index 9fb50967db..d1601c32d3 100644
--- a/teensy/usb.c
+++ b/teensy/usb.c
@@ -22,12 +22,6 @@ bool usb_vcp_is_enabled(void)
return true;
}
-void usb_vcp_set_interrupt_char(int c) {
- // The teensy 3.1 usb stack doesn't currently have the notion of generating
- // an exception when a certain character is received. That just means that
- // you can't press Control-C and get your python script to stop.
-}
-
int usb_vcp_rx_num(void) {
return usb_serial_available();
}