diff options
| author | Dan Halbert <halbert@halwitz.org> | 2021-02-12 19:01:14 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2021-02-12 19:01:14 -0500 |
| commit | d54b5861a30b1b1a352e1c22fc67e729ec95390d (patch) | |
| tree | 1bd4349929b88ff41d38014eb0d111237a73db8f /supervisor/shared/serial.c | |
| parent | f0564b49862eaef0b9752b62d80ef00e3e12a3ee (diff) | |
wip
Diffstat (limited to 'supervisor/shared/serial.c')
| -rw-r--r-- | supervisor/shared/serial.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/supervisor/shared/serial.c b/supervisor/shared/serial.c index 40151cbf6..9cc12de51 100644 --- a/supervisor/shared/serial.c +++ b/supervisor/shared/serial.c @@ -148,13 +148,3 @@ void serial_write_substring(const char* text, uint32_t length) { void serial_write(const char* text) { serial_write_substring(text, strlen(text)); } - -#if CIRCUITPY_USB_SERIAL2 -bool serial2_bytes_available(void) { - return tud_cdc_n_available(1) > 0; -} - -bool serial2_connected(void) { - return tud_cdc_n_connected(1); -} -#endif |
