Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit31c6fb2bae2461f5280f8cdbf8bf52fe8c5e0171 (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-12-07 11:15:49 +0200
Committer
 Syndamia <kamen@syndamia.com>
2024-12-07 11:15:49 +0200
Files38dfb46ba000b3a12350546f85613b82cb465f8b
qmk-keyboards-31c6fb2bae2461f5280f8cdbf8bf52fe8c5e0171.tar
qmk-keyboards-31c6fb2bae2461f5280f8cdbf8bf52fe8c5e0171.tar.gz
qmk-keyboards-31c6fb2bae2461f5280f8cdbf8bf52fe8c5e0171.zip
Parent8624b333ed59fd646231e918de671e61f6fcdf43 (diff)
feat(chak): Turn off Liatris LED only when it's used
1 files changed, 9 insertions, 7 deletions
-rw-r--r--keyboards/crkbd/keymaps/chak/keymap.c16
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