summaryrefslogtreecommitdiff
path: root/keyboards/doro67
diff options
context:
space:
mode:
authormechmerlin <mechmerlin@gmail.com>2019-02-19 14:40:37 -0800
committerDrashna Jaelre <drashna@live.com>2019-02-19 18:48:30 -0800
commit33f1259f89f9d752c9507c5a2cb19a9286cf1388 (patch)
treed67fa91c2ac7d827a2cb4c9674abb1709c94df61 /keyboards/doro67
parent9a64c6b82ef7fc46e35f7d8c35eeccf3961ba0bf (diff)
downloadqmk_firmware-33f1259f89f9d752c9507c5a2cb19a9286cf1388.tar.gz
qmk_firmware-33f1259f89f9d752c9507c5a2cb19a9286cf1388.zip
get doro67 led working
Diffstat (limited to 'keyboards/doro67')
-rw-r--r--keyboards/doro67/regular/regular.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/doro67/regular/regular.c b/keyboards/doro67/regular/regular.c
index ad4cc279c3..719ceea6fe 100644
--- a/keyboards/doro67/regular/regular.c
+++ b/keyboards/doro67/regular/regular.c
@@ -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();
}
@@ -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);
}