diff options
| author | hathach <[email protected]> | 2025-11-22 17:31:31 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-11-22 17:31:31 +0700 |
| commit | b98127fba2b198130eb8868defcf117c6b5ea231 (patch) | |
| tree | 36d95a57994f3c7d0b1376228ffba26ee4c7c389 /src/class | |
| parent | b7bf1d9835b0fab2da581df8d81686509d155e15 (diff) | |
hil stress test cdc
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/cdc/cdc_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_device.c b/src/class/cdc/cdc_device.c index 3f860a657..2ab592bca 100644 --- a/src/class/cdc/cdc_device.c +++ b/src/class/cdc/cdc_device.c @@ -513,7 +513,7 @@ bool cdcd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_ for (uint32_t i = 0; i < xferred_bytes; i++) { if (p_cdc->wanted_char == (char)*ptr) { tud_cdc_rx_wanted_cb(itf, p_cdc->wanted_char); - break; // only invoke once per transfer, even multiple wanted chars are present + break; // only invoke once per transfer, even if multiple wanted chars are present } if (ptr == buf_info.ptr_wrap) { |
