aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2024-12-07 11:15:49 +0200
committerSyndamia <kamen@syndamia.com>2024-12-07 11:15:49 +0200
commit31c6fb2bae2461f5280f8cdbf8bf52fe8c5e0171 (patch)
tree38dfb46ba000b3a12350546f85613b82cb465f8b /keyboards
parent8624b333ed59fd646231e918de671e61f6fcdf43 (diff)
downloadqmk-keyboards-31c6fb2bae2461f5280f8cdbf8bf52fe8c5e0171.tar
qmk-keyboards-31c6fb2bae2461f5280f8cdbf8bf52fe8c5e0171.tar.gz
qmk-keyboards-31c6fb2bae2461f5280f8cdbf8bf52fe8c5e0171.zip
feat(chak): Turn off Liatris LED only when it's used
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/crkbd/keymaps/chak/keymap.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/keyboards/crkbd/keymaps/chak/keymap.c b/keyboards/crkbd/keymaps/chak/keymap.c
index 28b6b7e..4174f63 100644
--- a/keyboards/crkbd/keymaps/chak/keymap.c
+++ b/keyboards/crkbd/keymaps/chak/keymap.c
@@ -200,10 +200,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
//),
-// void keyboard_pre_init_user(void) {
-// // Set our LED pin as output
-// setPinOutput(24);
-// // Turn the LED off
-// // (Due to technical reasons, high is off and low is on)
-// writePinHigh(24);
-// }
+#ifdef CONVERT_TO_LIATRIS
+void keyboard_pre_init_user(void) {
+ // Set our LED pin as output
+ setPinOutput(24);
+ // Turn the LED off
+ // (Due to technical reasons, high is off and low is on)
+ writePinHigh(24);
+}
+#endif