Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix permanently on capslock led on Atom47 #4452

Merged
merged 1 commit into from
Nov 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions keyboards/atom47/rev2/rev2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
3 changes: 3 additions & 0 deletions keyboards/atom47/rev3/rev3.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ void matrix_scan_kb(void) {
void led_init_ports(void) {
// * Set our LED pins as output
DDRE |= (1 << 6);

//Set output high, so the capslock led is off
PORTE |= (1 << 6);
}

void led_set_kb(uint8_t usb_led) {
Expand Down