add tusb_debug.h remove tusb_error.h

move debug utils to new header
This commit is contained in:
hathach
2022-03-09 16:42:51 +07:00
parent 2f593e767c
commit 708f05668d
11 changed files with 220 additions and 274 deletions

View File

@@ -50,7 +50,7 @@ typedef struct {
}rndish_data_t;
void rndish_init(void);
tusb_error_t rndish_open_subtask(uint8_t dev_addr, cdch_data_t *p_cdc);
bool rndish_open_subtask(uint8_t dev_addr, cdch_data_t *p_cdc);
void rndish_xfer_isr(cdch_data_t *p_cdc, pipe_handle_t pipe_hdl, xfer_result_t event, uint32_t xferred_bytes);
void rndish_close(uint8_t dev_addr);