change usbd xfer_cb return type to bool

This commit is contained in:
hathach
2018-12-12 13:12:06 +07:00
parent b6cb4757d2
commit c1c501e0c2
9 changed files with 27 additions and 27 deletions

View File

@@ -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;
}