aboutsummaryrefslogtreecommitdiff
path: root/quantum/quantum.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-11-20 23:25:38 -0500
committerJack Humbert <jack.humb@gmail.com>2017-11-20 23:37:38 -0500
commitb669d115c2969a58f0ae00f6ae5c2290dba44c03 (patch)
treecb6aaf1606105f1806be8c008e0ae6f3e9e36008 /quantum/quantum.c
parent7ff96877d2a67fcfabbe2493e7c2a100f3b923da (diff)
downloadqmk_firmware-b669d115c2969a58f0ae00f6ae5c2290dba44c03.tar.gz
qmk_firmware-b669d115c2969a58f0ae00f6ae5c2290dba44c03.zip
adds planck light keyboard
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r--quantum/quantum.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 23873852f..099201596 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -1105,8 +1105,6 @@ ISR(TIMER1_COMPA_vect)
1105 1105
1106} 1106}
1107 1107
1108
1109
1110#endif // breathing 1108#endif // breathing
1111 1109
1112#else // backlight 1110#else // backlight
@@ -1168,6 +1166,7 @@ void send_nibble(uint8_t number) {
1168__attribute__((weak)) 1166__attribute__((weak))
1169uint16_t hex_to_keycode(uint8_t hex) 1167uint16_t hex_to_keycode(uint8_t hex)
1170{ 1168{
1169 hex = hex & 0xF;
1171 if (hex == 0x0) { 1170 if (hex == 0x0) {
1172 return KC_0; 1171 return KC_0;
1173 } else if (hex < 0xA) { 1172 } else if (hex < 0xA) {