aboutsummaryrefslogtreecommitdiff
path: root/docs/custom_quantum_functions.md
diff options
context:
space:
mode:
authorasakuno <chesscommands@users.noreply.github.com>2018-10-13 16:40:42 +0900
committerDrashna Jaelre <drashna@live.com>2018-10-13 00:40:42 -0700
commitd81d216d72fe4e50da22259558e86c70a4f14a8d (patch)
tree9d90a84cd219fdb9a70a32a97a749bf6f7b77c97 /docs/custom_quantum_functions.md
parente5c315f961a55ba31b44b70e4554a3969a788a99 (diff)
downloadqmk_firmware-d81d216d72fe4e50da22259558e86c70a4f14a8d.tar.gz
qmk_firmware-d81d216d72fe4e50da22259558e86c70a4f14a8d.zip
Fix Typo in Custom Quantum functions document (led_state) (#4129)
*_LOCK   ↓ DEL
Diffstat (limited to 'docs/custom_quantum_functions.md')
-rw-r--r--docs/custom_quantum_functions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/custom_quantum_functions.md b/docs/custom_quantum_functions.md
index b077e4b78..5b95450f2 100644
--- a/docs/custom_quantum_functions.md
+++ b/docs/custom_quantum_functions.md
@@ -117,12 +117,12 @@ void led_set_user(uint8_t usb_led) {
117 } else { 117 } else {
118 PORTB &= ~(1<<2); 118 PORTB &= ~(1<<2);
119 } 119 }
120 if (usb_led & (1<<USB_LED_COMPOSE_LOCK)) { 120 if (usb_led & (1<<USB_LED_COMPOSE)) {
121 PORTB |= (1<<3); 121 PORTB |= (1<<3);
122 } else { 122 } else {
123 PORTB &= ~(1<<3); 123 PORTB &= ~(1<<3);
124 } 124 }
125 if (usb_led & (1<<USB_LED_KANA_LOCK)) { 125 if (usb_led & (1<<USB_LED_KANA)) {
126 PORTB |= (1<<4); 126 PORTB |= (1<<4);
127 } else { 127 } else {
128 PORTB &= ~(1<<4); 128 PORTB &= ~(1<<4);