diff options
| author | IngHK <[email protected]> | 2024-02-28 13:13:18 +0100 |
|---|---|---|
| committer | IngHK <[email protected]> | 2024-02-29 10:46:28 +0100 |
| commit | edf13203916931962a53af50abc548dd3eded278 (patch) | |
| tree | 9b91199a2a405580da778cf181ca37df5550a74b /src | |
| parent | d3d61da0384d066b9930e8e5b658717983f02efb (diff) | |
removed expendable ACM check
Diffstat (limited to 'src')
| -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 c222e11db..4d2134f9d 100644 --- a/src/class/cdc/cdc_host.c +++ b/src/class/cdc/cdc_host.c @@ -909,7 +909,6 @@ static bool acm_set_control_line_state(cdch_interface_t * p_cdc, tuh_xfer_cb_t c static bool acm_set_line_coding(cdch_interface_t * p_cdc, tuh_xfer_cb_t complete_cb, uintptr_t user_data) { TU_VERIFY(p_cdc->acm_capability.support_line_request); - TU_VERIFY(p_cdc->requested_line_coding.data_bits && p_cdc->requested_line_coding.bit_rate); TU_VERIFY((p_cdc->requested_line_coding.data_bits >= 5 && p_cdc->requested_line_coding.data_bits <= 8) || p_cdc->requested_line_coding.data_bits == 16); |
