summaryrefslogtreecommitdiffstats
path: root/keyboards/mechlovin/adelais
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-16 20:18:33 +1100
committerGitHub <noreply@github.com>2023-03-16 20:18:33 +1100
commit9dbee3e23d28e5f61384bbb5650505a572022341 (patch)
treebfa5fae549305e780fb81ce7275ced1f808a7e36 /keyboards/mechlovin/adelais
parent72da3ee63e110392bebaa64dd7d862fb99097505 (diff)
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/mechlovin/adelais')
-rw-r--r--keyboards/mechlovin/adelais/adelais.c2
-rw-r--r--keyboards/mechlovin/adelais/adelais.h35
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev1/rev1.c2
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c2
4 files changed, 3 insertions, 38 deletions
diff --git a/keyboards/mechlovin/adelais/adelais.c b/keyboards/mechlovin/adelais/adelais.c
index da954bce04..5758bb7322 100644
--- a/keyboards/mechlovin/adelais/adelais.c
+++ b/keyboards/mechlovin/adelais/adelais.c
@@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "adelais.h"
+#include "quantum.h"
#ifdef RGBLIGHT_ENABLE
void keyboard_post_init_kb(void) {
diff --git a/keyboards/mechlovin/adelais/adelais.h b/keyboards/mechlovin/adelais/adelais.h
deleted file mode 100644
index 6c3980a090..0000000000
--- a/keyboards/mechlovin/adelais/adelais.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* Copyright 2020 Team Mechlovin
- *
- * 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"
-
-#ifdef KEYBOARD_mechlovin_adelais_rgb_led_rev1
- #include "rev1.h"
-#elif KEYBOARD_mechlovin_adelais_rgb_led_rev2
- #include "rev2.h"
-#elif KEYBOARD_mechlovin_adelais_rgb_led_rev3
- #include "rev3.h"
-#elif KEYBOARD_mechlovin_adelais_standard_led_arm_rev2
- #include "rev2.h"
-#elif KEYBOARD_mechlovin_adelais_standard_led_arm_rev3
- #include "rev3.h"
-#elif KEYBOARD_mechlovin_adelais_standard_led_arm_rev4
- #include "rev4.h"
-#elif KEYBOARD_mechlovin_adelais_standard_led_avr_rev1
- #include "rev1.h"
-#endif
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev1/rev1.c b/keyboards/mechlovin/adelais/rgb_led/rev1/rev1.c
index 490599c43a..a86b1e5dd5 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev1/rev1.c
+++ b/keyboards/mechlovin/adelais/rgb_led/rev1/rev1.c
@@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "adelais.h"
+#include "rev1.h"
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c b/keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c
index 20b4b69114..78bca55b8e 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c
+++ b/keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c
@@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "adelais.h"
+#include "rev2.h"
#ifdef RGB_MATRIX_ENABLE
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {