summaryrefslogtreecommitdiff
path: root/keyboard/kc60/kc60.c
diff options
context:
space:
mode:
authorStanley Lai2016-06-19 20:29:42 -0700
committerJack Humbert2016-06-19 23:29:42 -0400
commit3302258abd8929e03c9af71393afc5c9d6947c23 (patch)
tree64d43847617faf94f3e76055062ead63a972264c /keyboard/kc60/kc60.c
parent3f6fac4721c0f03dab7704b09329d720c85470ce (diff)
Added WS2812 support for KC60 (#419)
* Added WS2812 support for KC60 * Reorganized WS2812 support into its own keymap * Fixed relative link in README * Moved WS2812 mention in README to the bottom * Fixed titling in WS2812 README * Reverted KC60 Makefile and default keymap back * Moved RGB specific config.h to ws2812 keymap folder
Diffstat (limited to 'keyboard/kc60/kc60.c')
-rw-r--r--keyboard/kc60/kc60.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboard/kc60/kc60.c b/keyboard/kc60/kc60.c
index 0a578b2b8..64c0675cd 100644
--- a/keyboard/kc60/kc60.c
+++ b/keyboard/kc60/kc60.c
@@ -62,7 +62,7 @@ void backlight_init_ports()
DDRB |= (1<<6);
PORTB &= ~(1<<6);
- // Use full 16-bit resolution.
+ // Use full 16-bit resolution.
ICR1 = 0xFFFF;
// I could write a wall of text here to explain... but TL;DW
@@ -99,7 +99,7 @@ void backlight_set(uint8_t level)
// Set the brightness
CHANNEL = 0xFFFF;
}
- else
+ else
{
// Turn on PWM control of PB6
TCCR1A |= _BV(COM1B1);