HCoop
/
jackhill
/
qmk
/
firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a64c6b
)
get doro67 led working
author
mechmerlin
<mechmerlin@gmail.com>
Tue, 19 Feb 2019 22:40:37 +0000
(14:40 -0800)
committer
Drashna Jaelre
<drashna@live.com>
Wed, 20 Feb 2019 02:48:30 +0000
(18:48 -0800)
keyboards/doro67/regular/regular.c
patch
|
blob
|
blame
|
history
diff --git
a/keyboards/doro67/regular/regular.c
b/keyboards/doro67/regular/regular.c
index
ad4cc27
..
719ceea
100644
(file)
--- 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);
}