Skip to content
Snippets Groups Projects
Commit 347de3e2 authored by Damien George's avatar Damien George
Browse files

stm32/usbdev: Change static function variable to non-static.

It's written straight away in the function on every call so it doesn't need
to be static.
parent 78602a21
No related branches found
No related tags found
No related merge requests found
......@@ -479,7 +479,7 @@ static void USBD_SetConfig(USBD_HandleTypeDef *pdev ,
USBD_SetupReqTypedef *req)
{
static uint8_t cfgidx;
uint8_t cfgidx;
cfgidx = (uint8_t)(req->wValue);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment