diff options
author | Damien George <damien.p.george@gmail.com> | 2014-07-02 13:45:00 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-07-02 13:45:00 +0100 |
commit | f83debc716029f87f62cdae751e88838db343eb8 (patch) | |
tree | 5f6bdb76cac3f59334431f62a3920f39ceca8b8b /teensy/usb.c | |
parent | 5fc580475f5eba8248de86a4148090e63f777372 (diff) | |
parent | 7a37f647a5d953a47a6147cf8302e08f27537771 (diff) |
Merge branch 'dhylands-teensy-new'
Diffstat (limited to 'teensy/usb.c')
-rw-r--r-- | teensy/usb.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/teensy/usb.c b/teensy/usb.c index a045a2ed6..ab4731f27 100644 --- a/teensy/usb.c +++ b/teensy/usb.c @@ -13,8 +13,13 @@ int usb_vcp_is_enabled(void) return 1; } -int usb_vcp_rx_any(void) -{ +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(); } |