summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-04-02 01:49:45 +1100
committerGitHub <noreply@github.com>2020-04-01 15:49:45 +0100
commit95c5c11d0b909f14696c9c0b2dd30b3bfd406273 (patch)
treed4b8a91d15cc824efd96f7ce63c47222cb665bd3 /tmk_core/protocol/lufa
parentb6a09502c626c3a94a859ab0a61d41a41835d611 (diff)
Miscellaneous cleanups (#8639)
* Miscellaneous cleanups * Cast NO_PIN
Diffstat (limited to 'tmk_core/protocol/lufa')
-rw-r--r--tmk_core/protocol/lufa/lufa.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tmk_core/protocol/lufa/lufa.h b/tmk_core/protocol/lufa/lufa.h
index 1b88060f14..82a5f8e05f 100644
--- a/tmk_core/protocol/lufa/lufa.h
+++ b/tmk_core/protocol/lufa/lufa.h
@@ -69,14 +69,8 @@ extern host_driver_t lufa_driver;
# define MIDI_SYSEX_BUFFER (API_SYSEX_MAX_SIZE + API_SYSEX_MAX_SIZE / 7 + (API_SYSEX_MAX_SIZE % 7 ? 1 : 0))
#endif
-// #if LUFA_VERSION_INTEGER < 0x120730
-// /* old API 120219 */
-// #define ENDPOINT_CONFIG(epnum, eptype, epdir, epsize, epbank) Endpoint_ConfigureEndpoint(epnum, eptype, epdir, epsize, epbank)
-// #else
-/* new API >= 120730 */
#define ENDPOINT_BANK_SINGLE 1
#define ENDPOINT_BANK_DOUBLE 2
#define ENDPOINT_CONFIG(epnum, eptype, epdir, epsize, epbank) Endpoint_ConfigureEndpoint((epdir) | (epnum), eptype, epsize, epbank)
-// #endif
#endif