summaryrefslogtreecommitdiff
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
parente5c315f961a55ba31b44b70e4554a3969a788a99 (diff)
Fix Typo in Custom Quantum functions document (led_state) (#4129)
*_LOCK   ↓ DEL
-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 b077e4b78d..5b95450f26 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) {
} else {
PORTB &= ~(1<<2);
}
- if (usb_led & (1<<USB_LED_COMPOSE_LOCK)) {
+ if (usb_led & (1<<USB_LED_COMPOSE)) {
PORTB |= (1<<3);
} else {
PORTB &= ~(1<<3);
}
- if (usb_led & (1<<USB_LED_KANA_LOCK)) {
+ if (usb_led & (1<<USB_LED_KANA)) {
PORTB |= (1<<4);
} else {
PORTB &= ~(1<<4);