revert CFG_TUH_CDC_DTR/RTS_CONTROL_ON_ENUM

This commit is contained in:
hathach
2025-06-19 17:22:26 +07:00
parent ec1a26251d
commit fa3ec44533
4 changed files with 24 additions and 47 deletions

View File

@@ -103,7 +103,7 @@
#define CFG_TUH_ENUMERATION_BUFSIZE 256
#define CFG_TUH_HUB 1 // number of supported hubs
#define CFG_TUH_CDC 1 // number of supported CDC devices. also activates CDC ACM
#define CFG_TUH_CDC 4 // number of supported CDC devices. also activates CDC ACM
#define CFG_TUH_CDC_FTDI 1 // FTDI Serial. FTDI is not part of CDC class, only to re-use CDC driver API
#define CFG_TUH_CDC_CP210X 1 // CP210x Serial. CP210X is not part of CDC class, only to re-use CDC driver API
#define CFG_TUH_CDC_CH34X 1 // CH340 or CH341 Serial. CH34X is not part of CDC class, only to re-use CDC driver API
@@ -122,8 +122,7 @@
//------------- CDC -------------//
// Set Line Control state on enumeration/mounted:
#define CFG_TUH_CDC_DTR_CONTROL_ON_ENUM true
#define CFG_TUH_CDC_RTS_CONTROL_ON_ENUM true
#define CFG_TUH_CDC_LINE_CONTROL_ON_ENUM (CDC_CONTROL_LINE_STATE_DTR | CDC_CONTROL_LINE_STATE_RTS)
// Set Line Coding on enumeration/mounted, value for cdc_line_coding_t
// bit rate = 115200, 1 stop bit, no parity, 8 bit data width

View File

@@ -127,8 +127,7 @@
//------------- CDC -------------//
// Set Line Control state on enumeration/mounted:
#define CFG_TUH_CDC_DTR_CONTROL_ON_ENUM true
#define CFG_TUH_CDC_RTS_CONTROL_ON_ENUM true
#define CFG_TUH_CDC_LINE_CONTROL_ON_ENUM (CDC_CONTROL_LINE_STATE_DTR | CDC_CONTROL_LINE_STATE_RTS)
// Set Line Coding on enumeration/mounted, value for cdc_line_coding_t
// bit rate = 115200, 1 stop bit, no parity, 8 bit data width