change return type of callback to void

This commit is contained in:
hathach
2022-03-17 16:55:29 +07:00
parent deab8c276a
commit 66942b814b
5 changed files with 60 additions and 76 deletions

View File

@@ -42,7 +42,7 @@
struct tuh_control_xfer_s;
typedef struct tuh_control_xfer_s tuh_control_xfer_t;
typedef bool (*tuh_control_xfer_cb_t)(uint8_t daddr, tuh_control_xfer_t* xfer);
typedef void (*tuh_control_xfer_cb_t)(uint8_t daddr, tuh_control_xfer_t* xfer);
struct tuh_control_xfer_s
{