This website works better with JavaScript.
Home
Explore
Help
Sign In
di0ib
/
tmk_keyboard
Watch
1
Star
0
Fork
0
Code
Releases
4
Activity
Browse Source
Fix Phantom scroll lock LED.
tags/v1.9
Wraul
11 years ago
parent
8848d0188f
commit
a21359a098
1 changed files
with
1 additions
and
1 deletions
Unified View
Show Diff Stats
1
1
keyboard/phantom/led.c
+ 1
- 1
keyboard/phantom/led.c
View File
if (usb_led & (1<<USB_LED_SCROLL_LOCK))
if (usb_led & (1<<USB_LED_SCROLL_LOCK))
{
{
// Output high.
// Output high.
DDRB
&= ~
(1<<7);
DDRB
|=
(1<<7);
PORTB |= (1<<7);
PORTB |= (1<<7);
}
}
else
else
Write
Preview
Loading…
Cancel
Save