summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
Diffstat (limited to 'src/class')
-rw-r--r--src/class/cdc/cdc_device.c2
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) {