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) {
|
void setLeds(uint8_t LEDstate) {
|
||||||
if (LEDstate & LED_NUM) { // light up caps lock
|
if (LEDstate & LED_NUM) { // light up num lock
|
||||||
PORTLEDS &= ~(1 << LEDNUM);
|
PORTLEDS &= ~(1 << LEDNUM);
|
||||||
} else {
|
} else {
|
||||||
PORTLEDS |= (1 << LEDNUM);
|
PORTLEDS |= (1 << LEDNUM);
|
||||||
@ -117,7 +117,7 @@ void setLeds(uint8_t LEDstate) {
|
|||||||
} else {
|
} else {
|
||||||
PORTLEDS |= (1 << LEDCAPS);
|
PORTLEDS |= (1 << LEDCAPS);
|
||||||
}
|
}
|
||||||
if (LEDstate & LED_SCROLL) { // light up caps lock
|
if (LEDstate & LED_SCROLL) { // light up scroll lock
|
||||||
PORTLEDS &= ~(1 << LEDSCROLL);
|
PORTLEDS &= ~(1 << LEDSCROLL);
|
||||||
} else {
|
} else {
|
||||||
PORTLEDS |= (1 << LEDSCROLL);
|
PORTLEDS |= (1 << LEDSCROLL);
|
||||||
|
Loading…
Reference in New Issue
Block a user