usb: Change transfer_len type to int32_t in usb_request_handler typedef
The functions that implement usb_request_handlers are already using an int32_t for transfer_len, so lets make the typedef match. This address a potential issue in the future when the typedef of int32_t changes (or when building with newlib). Change-Id: I6e478551c38f2040b0dcec47c2e4c565c27acdd0 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
c9a4335ad3
commit
99937a77da
|
@ -74,7 +74,7 @@ typedef void (*usb_ep_callback)(uint8_t ep,
|
|||
* interface number specified in the device descriptor table
|
||||
*/
|
||||
typedef int (*usb_request_handler) (struct usb_setup_packet *detup,
|
||||
int *transfer_len, uint8_t **payload_data);
|
||||
int32_t *transfer_len, uint8_t **payload_data);
|
||||
|
||||
/*
|
||||
* USB Endpoint Configuration
|
||||
|
|
Loading…
Reference in a new issue