Browse Source

Fix USB Serial break on Teensy3 (needed by Labview)

http://forum.pjrc.com/threads/25350-Teensy-3-1-Serial-Break
main
PaulStoffregen 10 years ago
parent
commit
c01d9cfcac
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      teensy3/usb_dev.c

+ 2
- 0
teensy3/usb_dev.c View File

@@ -323,6 +323,8 @@ static void usb_setup(void)
usb_cdc_line_rtsdtr = setup.wValue;
//serial_print("set control line state\n");
break;
case 0x2321: // CDC_SEND_BREAK
break;
case 0x2021: // CDC_SET_LINE_CODING
//serial_print("set coding, waiting...\n");
return;

Loading…
Cancel
Save