File tree 1 file changed +6
-0
lines changed
cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src/class/cdc
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);
82
82
static inline void tud_cdc_read_flush (void );
83
83
static inline bool tud_cdc_peek (int pos , uint8_t * u8 );
84
84
85
+ static inline uint32_t tud_cdc_write_char (char ch );
85
86
static inline uint32_t tud_cdc_write (void const * buffer , uint32_t bufsize );
86
87
static inline uint32_t tud_cdc_write_str (char const * str );
87
88
static inline bool tud_cdc_write_flush (void );
@@ -167,6 +168,11 @@ static inline bool tud_cdc_peek (int pos, uint8_t* u8)
167
168
return tud_cdc_n_peek (0 , pos , u8 );
168
169
}
169
170
171
+ static inline uint32_t tud_cdc_write_char (char ch )
172
+ {
173
+ return tud_cdc_n_write_char (0 , ch );
174
+ }
175
+
170
176
static inline uint32_t tud_cdc_write (void const * buffer , uint32_t bufsize )
171
177
{
172
178
return tud_cdc_n_write (0 , buffer , bufsize );
You can’t perform that action at this time.
0 commit comments