summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorCraig Hutchinson <[email protected]>2020-07-10 12:24:09 +0100
committerGitHub <[email protected]>2020-07-10 12:24:09 +0100
commit323ae5a84fec36e1ad6233d8721b4648a3cf406b (patch)
tree20715060846af35fa386be2bdd64c32d1faab1b7 /src/class
parent81392da1ea6860eec5af0bcd11a7350986abd5d9 (diff)
Improve comment on CDC tud_cdc_write_available()
Fixes #460
Diffstat (limited to 'src/class')
-rw-r--r--src/class/cdc/cdc_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h
index a2523d8d0..897fd272b 100644
--- a/src/class/cdc/cdc_device.h
+++ b/src/class/cdc/cdc_device.h
@@ -95,7 +95,7 @@ uint32_t tud_cdc_n_write_str (uint8_t itf, char const* str);
// Force sending data if possible, return number of forced bytes
uint32_t tud_cdc_n_write_flush (uint8_t itf);
-// Return number of characters available for writing
+// Return the number of bytes (characters) available for writing to TX FIFO buffer in a single n_write operation.
uint32_t tud_cdc_n_write_available (uint8_t itf);
//--------------------------------------------------------------------+