summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorasakuno <chesscommands@users.noreply.github.com>2018-10-13 09:40:42 +0200
committerDrashna Jaelre <drashna@live.com>2018-10-13 09:40:42 +0200
commitd81d216d72fe4e50da22259558e86c70a4f14a8d (patch)
tree9d90a84cd219fdb9a70a32a97a749bf6f7b77c97 /docs
parente5c315f961a55ba31b44b70e4554a3969a788a99 (diff)
downloadqmk_firmware-d81d216d72fe4e50da22259558e86c70a4f14a8d.tar.gz
qmk_firmware-d81d216d72fe4e50da22259558e86c70a4f14a8d.tar.xz
Fix Typo in Custom Quantum functions document (led_state) (#4129)
*_LOCK   ↓ DEL
Diffstat (limited to 'docs')
-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);