aboutsummaryrefslogtreecommitdiffstats
path: root/usbdrv/usbdrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'usbdrv/usbdrv.c')
-rw-r--r--usbdrv/usbdrv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usbdrv/usbdrv.c b/usbdrv/usbdrv.c
index 20e9ad8..eed2d52 100644
--- a/usbdrv/usbdrv.c
+++ b/usbdrv/usbdrv.c
@@ -44,6 +44,9 @@ usbTxStatus_t usbTxStatus1;
usbTxStatus_t usbTxStatus3;
# endif
#endif
+#if USB_CFG_CHECK_DATA_TOGGLING
+uchar usbCurrentDataToken;/* when we check data toggling to ignore duplicate packets */
+#endif
/* USB status registers / not shared with asm code */
uchar *usbMsgPtr; /* data to transmit next -- ROM or RAM address */