Skip to content

Commit 3cbe45e

Browse files
facchinmcmaglie
authored andcommitted
fix warning becoming error (-Wall)
1 parent 15bdc58 commit 3cbe45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/USB/samd21_host.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ uhd_vbus_state_t UHD_GetVBUSState(void)
298298
* \retval 0 success.
299299
* \retval 1 error.
300300
*/
301-
uint32_t UHD_Pipe0_Alloc(uint32_t /* ul_add */, uint32_t ul_ep_size)
301+
uint32_t UHD_Pipe0_Alloc(uint32_t ul_add , uint32_t ul_ep_size)
302302
{
303303
if( USB->HOST.STATUS.reg & USB_HOST_STATUS_SPEED(1) )
304304
ul_ep_size = USB_PCKSIZE_SIZE_8_BYTES; // Low Speed

0 commit comments

Comments
 (0)