diff options
author | Drashna Jaelre <drashna@live.com> | 2019-07-03 07:36:03 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-07-03 07:55:32 -0700 |
commit | a5e62ff2517e4add49ec67c1844b93e38144ea31 (patch) | |
tree | d5e7391286399f96b97d5ad196c01ecb32728395 /LUFA/Drivers | |
parent | 110622eaa2787cc54818083d4243653b088e5b5a (diff) | |
download | lufa-a5e62ff2517e4add49ec67c1844b93e38144ea31.tar.gz lufa-a5e62ff2517e4add49ec67c1844b93e38144ea31.tar.bz2 lufa-a5e62ff2517e4add49ec67c1844b93e38144ea31.zip |
QMK Lufa Bootloader Generation (qmk#2009)
This re-implements the code changes into QMK's LUFA repo
Diffstat (limited to 'LUFA/Drivers')
-rw-r--r-- | LUFA/Drivers/Board/AVR8/QMK/LEDs.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/LUFA/Drivers/Board/AVR8/QMK/LEDs.h b/LUFA/Drivers/Board/AVR8/QMK/LEDs.h index 9fc696be9..bcfe07cdd 100644 --- a/LUFA/Drivers/Board/AVR8/QMK/LEDs.h +++ b/LUFA/Drivers/Board/AVR8/QMK/LEDs.h @@ -103,10 +103,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define A6 0x06 #define A7 0x07 - #define QMK_ESC_COL F1 - #define QMK_ESC_ROW D5 - #define QMK_LED E6 - #define QMK_SPEAKER C6 + #include "Keyboard.h" + + #ifndef QMK_ESC_INPUT + #define QMK_ESC_INPUT F1 + #endif + #ifndef QMK_ESC_OUTPUT + #define QMK_ESC_OUTPUT D5 + #endif + #ifndef QMK_LED + #define QMK_LED E6 + #endif + #ifndef QMK_SPEAKER + #define QMK_SPEAKER C6 + #endif #define DDR(pin) _SFR_IO8(((pin) >> 4) + 1) #define PORT(pin) _SFR_IO8(((pin) >> 4) + 2) @@ -191,4 +201,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #endif /** @} */ - |