qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit d81d216d72fe4e50da22259558e86c70a4f14a8d
parent e5c315f961a55ba31b44b70e4554a3969a788a99
Author: asakuno <chesscommands@users.noreply.github.com>
Date:   Sat, 13 Oct 2018 16:40:42 +0900

Fix Typo in Custom Quantum functions document (led_state) (#4129)

*_LOCK
  ↓
DEL
Diffstat:
docs/custom_quantum_functions.md | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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);