diff options
| author | hathach <[email protected]> | 2020-04-15 15:14:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-04-15 15:14:26 +0700 |
| commit | b03b9eb93991c561610a01c379154e7db55e9f4b (patch) | |
| tree | f103641028d5ef829550f67e79393ab963ee42b0 /src/class | |
| parent | 93ffe317b262df34afe74e216017411ac70324b5 (diff) | |
change cdc template protocol to None
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/cdc/cdc_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_host.c b/src/class/cdc/cdc_host.c index 595e7fd62..5e45e8f6b 100644 --- a/src/class/cdc/cdc_host.c +++ b/src/class/cdc/cdc_host.c @@ -86,7 +86,7 @@ bool tuh_cdc_serial_is_mounted(uint8_t dev_addr) { // TODO consider all AT Command as serial candidate return tuh_cdc_mounted(dev_addr) && - (CDC_COMM_PROTOCOL_ATCOMMAND <= cdch_data[dev_addr-1].itf_protocol) && + (CDC_COMM_PROTOCOL_NONE <= cdch_data[dev_addr-1].itf_protocol) && (cdch_data[dev_addr-1].itf_protocol <= CDC_COMM_PROTOCOL_ATCOMMAND_CDMA); } |
