diff options
| author | hathach <[email protected]> | 2020-11-20 16:30:03 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-11-20 16:30:03 +0700 |
| commit | d6461abe7835c336ddfb165817ec966ebd259d62 (patch) | |
| tree | 0738122d3f43ff5f4448a03f490faa698f599b96 /src | |
| parent | 9f853685ae06c4eac03b277d61440de28d5ba41a (diff) | |
clean up
Diffstat (limited to 'src')
| -rwxr-xr-x | src/class/bth/bth_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/class/bth/bth_device.c b/src/class/bth/bth_device.c index c63b994e2..f8215e7dd 100755 --- a/src/class/bth/bth_device.c +++ b/src/class/bth/bth_device.c @@ -186,6 +186,9 @@ uint16_t btd_open(uint8_t rhport, tusb_desc_interface_t const *itf_desc, uint16_ return drv_len; } +// Invoked when a control transfer occurred on an interface of this class +// Driver response accordingly to the request and the transfer stage (setup/data/ack) +// return false to stall control endpoint (e.g unsupported request) bool btd_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t const *request) { (void)rhport; |
