diff options
Diffstat (limited to 'keyboard/kc60/kc60.c')
| -rw-r--r-- | keyboard/kc60/kc60.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboard/kc60/kc60.c b/keyboard/kc60/kc60.c index 64c0675cd..0a578b2b8 100644 --- a/keyboard/kc60/kc60.c +++ b/keyboard/kc60/kc60.c | |||
| @@ -62,7 +62,7 @@ void backlight_init_ports() | |||
| 62 | DDRB |= (1<<6); | 62 | DDRB |= (1<<6); |
| 63 | PORTB &= ~(1<<6); | 63 | PORTB &= ~(1<<6); |
| 64 | 64 | ||
| 65 | // Use full 16-bit resolution. | 65 | // Use full 16-bit resolution. |
| 66 | ICR1 = 0xFFFF; | 66 | ICR1 = 0xFFFF; |
| 67 | 67 | ||
| 68 | // I could write a wall of text here to explain... but TL;DW | 68 | // I could write a wall of text here to explain... but TL;DW |
| @@ -99,7 +99,7 @@ void backlight_set(uint8_t level) | |||
| 99 | // Set the brightness | 99 | // Set the brightness |
| 100 | CHANNEL = 0xFFFF; | 100 | CHANNEL = 0xFFFF; |
| 101 | } | 101 | } |
| 102 | else | 102 | else |
| 103 | { | 103 | { |
| 104 | // Turn on PWM control of PB6 | 104 | // Turn on PWM control of PB6 |
| 105 | TCCR1A |= _BV(COM1B1); | 105 | TCCR1A |= _BV(COM1B1); |
