This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
Fix capkey led for dz60.
pull/4743/head
Menchen
5 years ago
committed by
skullydazed
parent
8443481aea
commit
e2f60eba2f
1 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
keyboards/dz60/dz60.c
+ 1
- 3
keyboards/dz60/dz60.c
View File
@ -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
)
;
Write
Preview
Loading…
Cancel
Save