File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src/class/cdc Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ static inline uint32_t tud_cdc_read (void* buffer, uint32_t bufsize);
8282static inline void tud_cdc_read_flush (void );
8383static inline bool tud_cdc_peek (int pos , uint8_t * u8 );
8484
85+ static inline uint32_t tud_cdc_write_char (char ch );
8586static inline uint32_t tud_cdc_write (void const * buffer , uint32_t bufsize );
8687static inline uint32_t tud_cdc_write_str (char const * str );
8788static inline bool tud_cdc_write_flush (void );
@@ -167,6 +168,11 @@ static inline bool tud_cdc_peek (int pos, uint8_t* u8)
167168 return tud_cdc_n_peek (0 , pos , u8 );
168169}
169170
171+ static inline uint32_t tud_cdc_write_char (char ch )
172+ {
173+ return tud_cdc_n_write_char (0 , ch );
174+ }
175+
170176static inline uint32_t tud_cdc_write (void const * buffer , uint32_t bufsize )
171177{
172178 return tud_cdc_n_write (0 , buffer , bufsize );
You can’t perform that action at this time.
0 commit comments