From 9dbee3e23d28e5f61384bbb5650505a572022341 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 16 Mar 2023 20:18:33 +1100 Subject: Remove useless "ifdef KEYBOARD_*" (#20078) Co-authored-by: Nick Brassel --- keyboards/mechlovin/adelais/adelais.c | 2 +- keyboards/mechlovin/adelais/adelais.h | 35 ------------------------- keyboards/mechlovin/adelais/rgb_led/rev1/rev1.c | 2 +- keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c | 2 +- 4 files changed, 3 insertions(+), 38 deletions(-) delete mode 100644 keyboards/mechlovin/adelais/adelais.h (limited to 'keyboards/mechlovin/adelais') 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 . */ -#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 . - */ - -#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 . */ -#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 . */ -#include "adelais.h" +#include "rev2.h" #ifdef RGB_MATRIX_ENABLE const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = { -- cgit v1.2.3