documentation copy&paste-error

This commit is contained in:
Ronald Schaten 2008-11-09 18:05:14 +00:00
parent cdf0fda123
commit dbc411f969

View File

@ -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);