Fix permanently on capslock led on Atom47 (#4452)

This commit is contained in:
Maarten Dekkers authored and MechMerlin committed 2018-11-19 12:15:16 -08:00
1 parent e0690096f8
commit f03fd95000
2 files changed
+6

No files matched your search

+3
View File
@@ -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) {
+3
View File
@@ -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) {