diff options
author | Stanley Lai <stanleylai.sg@gmail.com> | 2016-06-20 21:49:54 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-06-21 00:49:54 -0400 |
commit | c976c03547e069d76bb26577fbbfc29c894d17fa (patch) | |
tree | 59dd72065f72db0580b77b457196ba7e1415f4f3 /keyboard/kc60/kc60.c | |
parent | 650e77c6576b7893b430ba210be6ae439e363516 (diff) |
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
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 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); |