renesas-ra/mphalport: Refactor to use shared TinyUSB CDC functions.

Signed-off-by: Andrew Leech <andrew@alelec.net>
This commit is contained in:
Andrew Leech
2024-05-11 08:53:21 +10:00
committed by Damien George
parent 2475a52f5c
commit 2d33071b17
2 changed files with 8 additions and 69 deletions

View File

@@ -42,6 +42,7 @@
#define MICROPY_HW_USB_CDC_TX_TIMEOUT (500)
extern const unsigned char mp_hal_status_to_errno_table[4];
extern int mp_interrupt_char;
extern ringbuf_t stdin_ringbuf;
static inline int mp_hal_status_to_neg_errno(HAL_StatusTypeDef status) {