summaryrefslogtreecommitdiffstats
path: root/firmware/usbdrv
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usbdrv')
-rw-r--r--firmware/usbdrv/usbdrv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/usbdrv/usbdrv.c b/firmware/usbdrv/usbdrv.c
index 50adf5a..354dce7 100644
--- a/firmware/usbdrv/usbdrv.c
+++ b/firmware/usbdrv/usbdrv.c
@@ -375,6 +375,8 @@ uchar flags = USB_FLG_MSGPTR_IS_ROM;
len = usbFunctionDescriptor(rq);
}
SWITCH_END
+
+ flags=flags; // Make compiler shut up about unused variable
#ifndef MNHACK_ONLY_FLASH_MSGPTR
usbMsgFlags = flags;
#endif