diff options
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/atom47/rev2/rev2.c | 3 | ||||
| -rw-r--r-- | keyboards/atom47/rev3/rev3.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/atom47/rev2/rev2.c b/keyboards/atom47/rev2/rev2.c index 31a8561f0..06fce06da 100644 --- a/keyboards/atom47/rev2/rev2.c +++ b/keyboards/atom47/rev2/rev2.c | |||
| @@ -17,6 +17,9 @@ void matrix_scan_kb(void) { | |||
| 17 | void led_init_ports(void) { | 17 | void led_init_ports(void) { |
| 18 | // * Set our LED pins as output | 18 | // * Set our LED pins as output |
| 19 | DDRB &= ~(1<<5); | 19 | DDRB &= ~(1<<5); |
| 20 | |||
| 21 | //Set output high, so the capslock led is off | ||
| 22 | PORTB |= (1 << 5); | ||
| 20 | } | 23 | } |
| 21 | 24 | ||
| 22 | void led_set_kb(uint8_t usb_led) { | 25 | void led_set_kb(uint8_t usb_led) { |
diff --git a/keyboards/atom47/rev3/rev3.c b/keyboards/atom47/rev3/rev3.c index 2cd04fa76..c541ed559 100644 --- a/keyboards/atom47/rev3/rev3.c +++ b/keyboards/atom47/rev3/rev3.c | |||
| @@ -17,6 +17,9 @@ void matrix_scan_kb(void) { | |||
| 17 | void led_init_ports(void) { | 17 | void led_init_ports(void) { |
| 18 | // * Set our LED pins as output | 18 | // * Set our LED pins as output |
| 19 | DDRE |= (1 << 6); | 19 | DDRE |= (1 << 6); |
| 20 | |||
| 21 | //Set output high, so the capslock led is off | ||
| 22 | PORTE |= (1 << 6); | ||
| 20 | } | 23 | } |
| 21 | 24 | ||
| 22 | void led_set_kb(uint8_t usb_led) { | 25 | void led_set_kb(uint8_t usb_led) { |
