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 permanently on capslock led on Atom47 (
#4452
)
pull/4454/head
Maarten Dekkers
5 years ago
committed by
MechMerlin
parent
e0690096f8
commit
f03fd95000
2 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
keyboards/atom47/rev2/rev2.c
+3
-0
keyboards/atom47/rev3/rev3.c
+ 3
- 0
keyboards/atom47/rev2/rev2.c
View File
@ -17,6 +17,9 @@ void matrix_scan_kb(void) {
void
led_init_ports
(
void
)
{
/
/
*
Set
our
LED
pins
as
output
DDRB
&
=
~
(
1
<
<
5
)
;
/
/
Set
output
high
,
so
the
capslock
led
is
off
PORTB
|
=
(
1
<
<
5
)
;
}
void
led_set_kb
(
uint8_t
usb_led
)
{
+ 3
- 0
keyboards/atom47/rev3/rev3.c
View File
@ -17,6 +17,9 @@ void matrix_scan_kb(void) {
void
led_init_ports
(
void
)
{
/
/
*
Set
our
LED
pins
as
output
DDRE
|
=
(
1
<
<
6
)
;
/
/
Set
output
high
,
so
the
capslock
led
is
off
PORTE
|
=
(
1
<
<
6
)
;
}
void
led_set_kb
(
uint8_t
usb_led
)
{
Write
Preview
Loading…
Cancel
Save