diff options
Diffstat (limited to 'docs/custom_quantum_functions.md')
| -rw-r--r-- | docs/custom_quantum_functions.md | 4 |
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); |
