added defines CFG_TUH_CDC_DTR_CONTROL_ON_ENUM & CFG_TUH_CDC_RTS_CONTROL_ON_ENUM

This commit is contained in:
IngHK
2024-03-03 13:12:10 +01:00
parent a9cc07fc83
commit ee92e582b3
3 changed files with 34 additions and 14 deletions

View File

@@ -121,8 +121,8 @@
//------------- CDC -------------//
// Set Line Control state on enumeration/mounted:
// DTR ( bit 0), RTS (bit 1)
#define CFG_TUH_CDC_LINE_CONTROL_ON_ENUM 0x03
#define CFG_TUH_CDC_DTR_CONTROL_ON_ENUM true
#define CFG_TUH_CDC_RTS_CONTROL_ON_ENUM true
// Set Line Coding on enumeration/mounted, value for cdc_line_coding_t
// bit rate = 115200, 1 stop bit, no parity, 8 bit data width