diff options
| author | hathach <[email protected]> | 2018-12-12 13:12:06 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-12 13:12:06 +0700 |
| commit | c1c501e0c2f3ad2c910b11bb358396c2e57ec624 (patch) | |
| tree | c9feb8414ecc7e30528bae51198ca6ece730bb89 /src/class/hid/hid_device.c | |
| parent | b6cb4757d27fa35564686baab82f7a86094787a7 (diff) | |
change usbd xfer_cb return type to bool
Diffstat (limited to 'src/class/hid/hid_device.c')
| -rw-r--r-- | src/class/hid/hid_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c index cfb1a698d..bd49c157a 100644 --- a/src/class/hid/hid_device.c +++ b/src/class/hid/hid_device.c @@ -508,10 +508,10 @@ bool hidd_control_request_complete(uint8_t rhport, tusb_control_request_t const return true;
}
-tusb_error_t hidd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes)
+bool hidd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes)
{
// nothing to do
- return TUSB_ERROR_NONE;
+ return true;
}
|
