Commit 347de3e2 authored by Damien George's avatar Damien George

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
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment