diff options
| author | hathach <[email protected]> | 2020-05-04 00:29:52 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-05-04 00:29:52 +0700 |
| commit | 4a3a44834048006b05d82d32e1f69be856554d4d (patch) | |
| tree | 9b1a53cdfe8c8c47808c1b87ea3afcf3448d5d27 /src/class | |
| parent | 9538ca7d74fbf5644c1e3a9747f0ad0c3e1a28d2 (diff) | |
clean up things, add makefile for host example
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/cdc/cdc_host.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_host.c b/src/class/cdc/cdc_host.c index 5e45e8f6b..6b36ea94d 100644 --- a/src/class/cdc/cdc_host.c +++ b/src/class/cdc/cdc_host.c @@ -86,7 +86,6 @@ 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_NONE <= cdch_data[dev_addr-1].itf_protocol) && (cdch_data[dev_addr-1].itf_protocol <= CDC_COMM_PROTOCOL_ATCOMMAND_CDMA); } |
