Browse Source

Improve comment on CDC tud_cdc_write_available()

Fixes #460
Craig Hutchinson 5 years ago
parent
commit
323ae5a84f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/class/cdc/cdc_device.h

+ 1 - 1
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);
 
 //--------------------------------------------------------------------+