Преглед на файлове

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

*_LOCK
  ↓
DEL
asakuno преди 7 години
родител
ревизия
d81d216d72
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      docs/custom_quantum_functions.md

+ 2 - 2
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);