diff options
-rw-r--r-- | tmk_core/protocol/vusb/usbconfig.h | 2 | ||||
-rw-r--r-- | tmk_core/protocol/vusb/vusb.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tmk_core/protocol/vusb/usbconfig.h b/tmk_core/protocol/vusb/usbconfig.h index f3cfd84ab..f15616351 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). | |||
123 | * data from a static buffer, set it to 0 and return the data from | 123 | * data from a static buffer, set it to 0 and return the data from |
124 | * usbFunctionSetup(). This saves a couple of bytes. | 124 | * usbFunctionSetup(). This saves a couple of bytes. |
125 | */ | 125 | */ |
126 | #define USB_CFG_IMPLEMENT_FN_WRITEOUT 0 | 126 | #define USB_CFG_IMPLEMENT_FN_WRITEOUT 1 |
127 | /* Define this to 1 if you want to use interrupt-out (or bulk out) endpoints. | 127 | /* Define this to 1 if you want to use interrupt-out (or bulk out) endpoints. |
128 | * You must implement the function usbFunctionWriteOut() which receives all | 128 | * You must implement the function usbFunctionWriteOut() which receives all |
129 | * interrupt/bulk data sent to any endpoint other than 0. The endpoint number | 129 | * interrupt/bulk data sent to any endpoint other than 0. The endpoint number |
diff --git a/tmk_core/protocol/vusb/vusb.c b/tmk_core/protocol/vusb/vusb.c index 47dc1245d..95c59d493 100644 --- a/tmk_core/protocol/vusb/vusb.c +++ b/tmk_core/protocol/vusb/vusb.c | |||
@@ -106,8 +106,6 @@ void raw_hid_send(uint8_t *data, uint8_t length) { | |||
106 | usbPoll(); | 106 | usbPoll(); |
107 | } | 107 | } |
108 | usbSetInterrupt3(0, 0); | 108 | usbSetInterrupt3(0, 0); |
109 | usbPoll(); | ||
110 | _delay_ms(1); | ||
111 | } | 109 | } |
112 | 110 | ||
113 | __attribute__((weak)) void raw_hid_receive(uint8_t *data, uint8_t length) { | 111 | __attribute__((weak)) void raw_hid_receive(uint8_t *data, uint8_t length) { |