diff options
Diffstat (limited to 'keyboards/clueboard/17/17.c')
| -rw-r--r-- | keyboards/clueboard/17/17.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/keyboards/clueboard/17/17.c b/keyboards/clueboard/17/17.c index f84e3253e..627aa236d 100644 --- a/keyboards/clueboard/17/17.c +++ b/keyboards/clueboard/17/17.c | |||
| @@ -12,13 +12,11 @@ void matrix_init_kb(void) { | |||
| 12 | MCUCR |= (1<<JTD); | 12 | MCUCR |= (1<<JTD); |
| 13 | }; | 13 | }; |
| 14 | 14 | ||
| 15 | void led_set_kb(uint8_t usb_led) | 15 | void led_set_kb(uint8_t usb_led) { |
| 16 | { | ||
| 17 | print("led_set\n"); | 16 | print("led_set\n"); |
| 18 | } | 17 | } |
| 19 | 18 | ||
| 20 | void backlight_init_ports(void) | 19 | void backlight_init_ports(void) { |
| 21 | { | ||
| 22 | // Set C7 to output | 20 | // Set C7 to output |
| 23 | DDRC |= (1<<7); | 21 | DDRC |= (1<<7); |
| 24 | 22 | ||
| @@ -29,8 +27,7 @@ void backlight_init_ports(void) | |||
| 29 | TCCR4B = 0b00000001; | 27 | TCCR4B = 0b00000001; |
| 30 | } | 28 | } |
| 31 | 29 | ||
| 32 | void backlight_set(uint8_t level) | 30 | void backlight_set(uint8_t level) { |
| 33 | { | ||
| 34 | // Determine the PWM level | 31 | // Determine the PWM level |
| 35 | switch (level) | 32 | switch (level) |
| 36 | { | 33 | { |
