From c976c03547e069d76bb26577fbbfc29c894d17fa Mon Sep 17 00:00:00 2001 From: Stanley Lai Date: Mon, 20 Jun 2016 21:49:54 -0700 Subject: Added stanleylai's personal keymap (#420) * 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 * Added my personal keymap * Updated compiled hex * Reverted KC60 files to 3f6fac47 before pull request #419 --- keyboard/kc60/kc60.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboard/kc60/kc60.c') diff --git a/keyboard/kc60/kc60.c b/keyboard/kc60/kc60.c index 64c0675cd7..0a578b2b88 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); -- cgit v1.2.3