aboutsummaryrefslogtreecommitdiff
path: root/keyboards/umbra
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/umbra')
-rw-r--r--keyboards/umbra/solder/solder.c10
-rw-r--r--keyboards/umbra/solder/solder.h22
2 files changed, 9 insertions, 23 deletions
diff --git a/keyboards/umbra/solder/solder.c b/keyboards/umbra/solder/solder.c
index ef7581deab..de0681b229 100644
--- a/keyboards/umbra/solder/solder.c
+++ b/keyboards/umbra/solder/solder.c
@@ -14,7 +14,15 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "solder.h"
+#include "quantum.h"
+
+#ifndef CAPS_LOCK_ENABLE
+# define CAPS_LOCK_ENABLE true
+#endif
+
+#ifndef CAPS_LOCK_COLOR
+# define CAPS_LOCK_COLOR HSV_GREEN
+#endif
void keyboard_pre_init_kb(void) {
rgblight_set_effect_range(0, 16);
diff --git a/keyboards/umbra/solder/solder.h b/keyboards/umbra/solder/solder.h
deleted file mode 100644
index 4a82a87a09..0000000000
--- a/keyboards/umbra/solder/solder.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-Copyright 2024 Joseph Williams IV "IV Works" <[email protected]>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-#pragma once
-
-#include "quantum.h"
-
-#define CAPS_LOCK_ENABLE true
-#define CAPS_LOCK_COLOR HSV_GREEN