diff options
| author | hathach <[email protected]> | 2022-12-22 19:17:09 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-22 19:17:09 +0700 |
| commit | 14d45b580e0cd82e77e36ecb152f7c001d860ce7 (patch) | |
| tree | 0cf0e7595e15b8ae0730d98f2876f49df6765360 /src/class | |
| parent | 05c119ce975668eff814c78d5306589fc2d24530 (diff) | |
correct host cdc enum
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 fcabb922a..05e0bdfc7 100644 --- a/src/class/cdc/cdc_host.c +++ b/src/class/cdc/cdc_host.c @@ -522,7 +522,7 @@ static void process_cdc_config(tuh_xfer_t* xfer) #ifdef CFG_TUH_CDC_LINE_CODING_ON_ENUM { cdc_line_coding_t line_coding = CFG_TUH_CDC_LINE_CODING_ON_ENUM; - TU_ASSERT( tuh_cdc_set_line_coding(idx, &line_coding, process_cdc_config, 0), ); + TU_ASSERT( tuh_cdc_set_line_coding(idx, &line_coding, process_cdc_config, CONFIG_COMPLETE), ); break; } #endif |
