aboutsummaryrefslogtreecommitdiffstats
path: root/docs/custom_quantum_functions.md
diff options
context:
space:
mode:
authorGravatar asakuno <chesscommands@users.noreply.github.com>2018-10-13 16:40:42 +0900
committerGravatar Drashna 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
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) {
} 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);