documentation copy&paste-error
This commit is contained in:
parent
cdf0fda123
commit
dbc411f969
@ -107,7 +107,7 @@ void printMatrix(void) {
|
||||
}
|
||||
|
||||
void setLeds(uint8_t LEDstate) {
|
||||
if (LEDstate & LED_NUM) { // light up caps lock
|
||||
if (LEDstate & LED_NUM) { // light up num lock
|
||||
PORTLEDS &= ~(1 << LEDNUM);
|
||||
} else {
|
||||
PORTLEDS |= (1 << LEDNUM);
|
||||
@ -117,7 +117,7 @@ void setLeds(uint8_t LEDstate) {
|
||||
} else {
|
||||
PORTLEDS |= (1 << LEDCAPS);
|
||||
}
|
||||
if (LEDstate & LED_SCROLL) { // light up caps lock
|
||||
if (LEDstate & LED_SCROLL) { // light up scroll lock
|
||||
PORTLEDS &= ~(1 << LEDSCROLL);
|
||||
} else {
|
||||
PORTLEDS |= (1 << LEDSCROLL);
|
||||
|
Loading…
Reference in New Issue
Block a user