summaryrefslogtreecommitdiffstats
path: root/firmware/usbconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usbconfig.h')
-rw-r--r--firmware/usbconfig.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/usbconfig.h b/firmware/usbconfig.h
index bdb58e2..3f31978 100644
--- a/firmware/usbconfig.h
+++ b/firmware/usbconfig.h
@@ -22,9 +22,14 @@
#include "bootloaderconfig.h"
+#define USB_PUBLIC static
+/* Use the define above if you #include usbdrv.c instead of linking against it.
+ * This technique saves a couple of bytes in flash memory.
+ */
+
/* --------------------------- Functional Range ---------------------------- */
-#define USB_CFG_HAVE_INTRIN_ENDPOINT 0
+#define USB_CFG_HAVE_INTRIN_ENDPOINT 1
/* Define this to 1 if you want to compile a version with two endpoints: The
* default control endpoint 0 and an interrupt-in endpoint (any other endpoint
* number).