diff options
author | Maarten Dekkers <maartenwut@gmail.com> | 2018-11-19 21:15:16 +0100 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-11-19 12:15:16 -0800 |
commit | f03fd950009fdfd9fa0dcb6d343fe22c6ab386cb (patch) | |
tree | ca183f70093aa80c08af06cf95075be4b77b7887 /keyboards/atom47/rev2 | |
parent | e0690096f8b5199cd6f602bc3a11c234b4309fb2 (diff) |
Fix permanently on capslock led on Atom47 (#4452)
Diffstat (limited to 'keyboards/atom47/rev2')
-rw-r--r-- | keyboards/atom47/rev2/rev2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/atom47/rev2/rev2.c b/keyboards/atom47/rev2/rev2.c index 31a8561f0c..06fce06dad 100644 --- a/keyboards/atom47/rev2/rev2.c +++ b/keyboards/atom47/rev2/rev2.c @@ -17,6 +17,9 @@ void matrix_scan_kb(void) { void led_init_ports(void) { // * Set our LED pins as output DDRB &= ~(1<<5); + + //Set output high, so the capslock led is off + PORTB |= (1 << 5); } void led_set_kb(uint8_t usb_led) { |