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 e2f60eba2f5d44282a6aff35fde9076b0532c23c
parent 8443481aea47182683d6b26aa00548e9ebfab82e
Author: Menchen <huangmenchen@gmail.com>
Date:   Tue, 25 Dec 2018 20:01:54 +0100

Fix capkey led for dz60.

Diffstat:
keyboards/dz60/dz60.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/keyboards/dz60/dz60.c b/keyboards/dz60/dz60.c @@ -23,11 +23,9 @@ void led_init_ports(void) { void led_set_kb(uint8_t usb_led) { if (usb_led & (1 << USB_LED_CAPS_LOCK)) { - DDRB |= (1 << 2); PORTB &= ~(1 << 2); } else { - DDRB &= ~(1 << 2); - PORTB &= ~(1 << 2); + PORTB |= (1 << 2); } led_set_user(usb_led);