Browse Source

Fix USB Serial break on Teensy3 (needed by Labview)

http://forum.pjrc.com/threads/25350-Teensy-3-1-Serial-Break
teensy4-core
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

usb_cdc_line_rtsdtr = setup.wValue; usb_cdc_line_rtsdtr = setup.wValue;
//serial_print("set control line state\n"); //serial_print("set control line state\n");
break; break;
case 0x2321: // CDC_SEND_BREAK
break;
case 0x2021: // CDC_SET_LINE_CODING case 0x2021: // CDC_SET_LINE_CODING
//serial_print("set coding, waiting...\n"); //serial_print("set coding, waiting...\n");
return; return;

Loading…
Cancel
Save