diff options
| author | hathach <[email protected]> | 2025-05-14 15:28:29 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-05-14 15:41:57 +0700 |
| commit | 0ebc91ec97d27c719f14708ea97053b2d46f0eed (patch) | |
| tree | 0a442aafddd0dda3c26c1da44e575e80a3539691 /examples/dual | |
| parent | fe4446090e5ab872faa973cae55839cf6929bf7e (diff) | |
update stm32wb linker to match new startup
Diffstat (limited to 'examples/dual')
| -rw-r--r-- | examples/dual/host_info_to_device_cdc/src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/dual/host_info_to_device_cdc/src/main.c b/examples/dual/host_info_to_device_cdc/src/main.c index 82a48fc61..a2a505952 100644 --- a/examples/dual/host_info_to_device_cdc/src/main.c +++ b/examples/dual/host_info_to_device_cdc/src/main.c @@ -233,11 +233,13 @@ void tuh_enum_descriptor_device_cb(uint8_t daddr, tusb_desc_device_t const* desc void tuh_mount_cb(uint8_t daddr) { cdc_printf("mounted device %u\r\n", daddr); + tud_cdc_write_flush(); is_print[daddr] = true; } void tuh_umount_cb(uint8_t daddr) { cdc_printf("unmounted device %u\r\n", daddr); + tud_cdc_write_flush(); is_print[daddr] = false; } |
