diff options
| author | hathach <[email protected]> | 2025-06-20 12:52:34 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-06-20 12:52:34 +0700 |
| commit | adf6cbfe03523cd8f7e23cb7f2edbb4304a6cd89 (patch) | |
| tree | 75e28049b27aa3ff28ac21ef0cdc5f7438b84a34 /examples | |
| parent | 5c974cee23e9ece208df43b60070740fc2eda0c3 (diff) | |
cdch clean up and refactor, add explicit sync() API
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/cdc_app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid/src/cdc_app.c b/examples/host/cdc_msc_hid/src/cdc_app.c index 6f4433f22..2fa9a8560 100644 --- a/examples/host/cdc_msc_hid/src/cdc_app.c +++ b/examples/host/cdc_msc_hid/src/cdc_app.c @@ -89,7 +89,7 @@ void tuh_cdc_mount_cb(uint8_t idx) { // If CFG_TUH_CDC_LINE_CODING_ON_ENUM is defined, line coding will be set by tinyusb stack // while eneumerating new cdc device cdc_line_coding_t line_coding = {0}; - if (tuh_cdc_get_local_line_coding(idx, &line_coding)) { + if (tuh_cdc_get_line_coding_local(idx, &line_coding)) { printf(" Baudrate: %" PRIu32 ", Stop Bits : %u\r\n", line_coding.bit_rate, line_coding.stop_bits); printf(" Parity : %u, Data Width: %u\r\n", line_coding.parity, line_coding.data_bits); } |
