summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorIngHK <[email protected]>2024-02-28 13:13:18 +0100
committerIngHK <[email protected]>2024-02-29 10:46:28 +0100
commitedf13203916931962a53af50abc548dd3eded278 (patch)
tree9b91199a2a405580da778cf181ca37df5550a74b /src/class
parentd3d61da0384d066b9930e8e5b658717983f02efb (diff)
removed expendable ACM check
Diffstat (limited to 'src/class')
-rw-r--r--src/class/cdc/cdc_host.c1
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);