summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/vusb/usbconfig.h
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2020-04-01 17:11:24 +0100
committerGitHub <noreply@github.com>2020-04-01 17:11:24 +0100
commitc217186bea9226f87ef4b8acc926c3f21a0fea85 (patch)
tree287500adfb93979dc1b273a5de4575e1c8493a2c /tmk_core/protocol/vusb/usbconfig.h
parent2eb6cb0dfd765cd7e841541ee4a75005dbb52df7 (diff)
Updated V-USB template to allow usbFunctionWriteOut (#8634)
Diffstat (limited to 'tmk_core/protocol/vusb/usbconfig.h')
-rw-r--r--tmk_core/protocol/vusb/usbconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/vusb/usbconfig.h b/tmk_core/protocol/vusb/usbconfig.h
index f3cfd84aba..f156163510 100644
--- a/tmk_core/protocol/vusb/usbconfig.h
+++ b/tmk_core/protocol/vusb/usbconfig.h
@@ -123,7 +123,7 @@ section at the end of this file).
* data from a static buffer, set it to 0 and return the data from
* usbFunctionSetup(). This saves a couple of bytes.
*/
-#define USB_CFG_IMPLEMENT_FN_WRITEOUT 0
+#define USB_CFG_IMPLEMENT_FN_WRITEOUT 1
/* Define this to 1 if you want to use interrupt-out (or bulk out) endpoints.
* You must implement the function usbFunctionWriteOut() which receives all
* interrupt/bulk data sent to any endpoint other than 0. The endpoint number