Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2790e61

Browse files
committed
[USB] Fix EPO STALL issue in STM32 USB Device library
USB Specification EP0 should never STALL during setup stage.Device is not properly setup if STALL present.Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parentfe50080 commit2790e61

File tree

1 file changed

+1
-1
lines changed
  • system/Middlewares/ST/STM32_USB_Device_Library/Core/Src

1 file changed

+1
-1
lines changed

‎system/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,8 @@ USBD_StatusTypeDef USBD_LL_DataInStage(USBD_HandleTypeDef *pdev,
444444
(pdev->dev_state==USBD_STATE_CONFIGURED))
445445
{
446446
pdev->pClass->EP0_TxSent(pdev);
447+
(void)USBD_LL_StallEP(pdev,0x80U);
447448
}
448-
(void)USBD_LL_StallEP(pdev,0x80U);
449449
(void)USBD_CtlReceiveStatus(pdev);
450450
}
451451
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp