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:
02743d4
)
xwhatsit throught hole: disable leds
author
Purdea Andrei
<andrei@purdea.ro>
Sat, 6 Jun 2020 00:27:47 +0000
(
03:27
+0300)
committer
Purdea Andrei
<andrei@purdea.ro>
Sat, 6 Jun 2020 00:27:47 +0000
(
03:27
+0300)
keyboards/xwhatsit/matrix.c
patch
|
blob
|
blame
|
history
diff --git
a/keyboards/xwhatsit/matrix.c
b/keyboards/xwhatsit/matrix.c
index
5e594fe
..
5409a61
100644
(file)
--- a/
keyboards/xwhatsit/matrix.c
+++ b/
keyboards/xwhatsit/matrix.c
@@
-708,6
+708,13
@@
void real_keyboard_init_basic(void)
dac_write_threshold(CAPSENSE_HARDCODED_THRESHOLD);
dac_write_threshold(CAPSENSE_HARDCODED_THRESHOLD);
#endif
+ #if defined(CONTROLLER_IS_THROUGHT_HOLE_BEAMSPRING)
+ // Disable on-board leds.
+ setPinOutput(D5);
+ writePin(D5, 1);
+ setPinOutput(B0);
+ writePin(B0, 1);
+ #endif
}
void matrix_init_custom(void) {