Skip to content

Commit

Permalink
get doro67 led working
Browse files Browse the repository at this point in the history
  • Loading branch information
mechmerlin authored and drashna committed Feb 20, 2019
1 parent 9a64c6b commit 33f1259
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions keyboards/doro67/regular/regular.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up

setPinOutput(E6);
matrix_init_user();
}

Expand All @@ -39,9 +39,9 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
writePinHigh(E6);
} else {
writePinLow(E6);
} else {
writePinHigh(E6);
}
led_set_user(usb_led);
}

0 comments on commit 33f1259

Please sign in to comment.