arch/arm/src/stm32/stm32_usbdev.c: Fix some new warnings reported by gcc 8.3.1 in build tests.
This commit is contained in:
parent
8ffa77b167
commit
cc485f2e2c
@ -1747,6 +1747,11 @@ static void stm32_ep0setup(struct stm32_usbdev_s *priv)
|
||||
ep0->stalled = 0;
|
||||
ep0->txbusy = 0;
|
||||
|
||||
value.w = 0;
|
||||
index.w = 0;
|
||||
len.w = 0;
|
||||
response.w = 0;
|
||||
|
||||
/* Check to see if called from the DATA phase of a SETUP Transfer */
|
||||
|
||||
if (priv->ep0state != EP0STATE_SETUP_READY)
|
||||
|
Loading…
Reference in New Issue
Block a user