Commit 1621158c authored by Dean Camera's avatar Dean Camera
Browse files

Fix warning when not compiled for UID auto-selection mode.

parent e7e1c21b
......@@ -104,7 +104,9 @@ void USB_ShutDown(void)
void USB_ResetInterface(void)
{
#if defined(USB_CAN_BE_BOTH)
bool UIDModeSelectEnabled = ((UHWCON & (1 << UIDE)) != 0);
#endif
USB_INT_DisableAllInterrupts();
USB_INT_ClearAllInterrupts();
......
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