- Notifications
You must be signed in to change notification settings - Fork1k
New board Discovery L475VG IOT#97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
4d2c0d5de14752b2b0e7a91b06e8f194ad1adfbb3cdd63aeced1ddd8949ffce574d1b58a5dce8File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -369,6 +369,7 @@ __ALIGN_BEGIN static uint8_t HID_KEYBOARD_ReportDesc[HID_KEYBOARD_REPORT_DESC_SI | ||
| staticuint8_tUSBD_HID_Init (USBD_HandleTypeDef*pdev, | ||
| uint8_tcfgidx) | ||
| { | ||
| UNUSED(cfgidx); | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I guess it's ok, butwhy do you remove them ? can you explain in commit message ? Author There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. This removed only function parameters not used inside the function. There is no impact on the rest of the code but allow to remove some warning messages at compilation time. Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Ok sorry - this is clear enough in the commit title already ! | ||
| uint8_tret=0; | ||
| /* Open EP IN */ | ||
| @@ -407,6 +408,7 @@ static uint8_t USBD_HID_Init (USBD_HandleTypeDef *pdev, | ||
| staticuint8_tUSBD_HID_DeInit (USBD_HandleTypeDef*pdev, | ||
| uint8_tcfgidx) | ||
| { | ||
| UNUSED(cfgidx); | ||
| /* Close HID EPs */ | ||
| USBD_LL_CloseEP(pdev, | ||
| HID_MOUSE_EPIN_ADDR); | ||
Uh oh!
There was an error while loading.Please reload this page.