aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorGravatar Ryan <fauxpark@gmail.com>2020-04-02 01:49:45 +1100
committerGravatar GitHub <noreply@github.com>2020-04-01 15:49:45 +0100
commit95c5c11d0b909f14696c9c0b2dd30b3bfd406273 (patch)
treed4b8a91d15cc824efd96f7ce63c47222cb665bd3 /tmk_core
parentb6a09502c626c3a94a859ab0a61d41a41835d611 (diff)
downloadqmk_firmware-95c5c11d0b909f14696c9c0b2dd30b3bfd406273.tar.gz
Miscellaneous cleanups (#8639)
* Miscellaneous cleanups * Cast NO_PIN
Diffstat (limited to 'tmk_core')
-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 1b88060f1..82a5f8e05 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