diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-16 20:18:33 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 20:18:33 +1100 |
commit | 9dbee3e23d28e5f61384bbb5650505a572022341 (patch) | |
tree | bfa5fae549305e780fb81ce7275ced1f808a7e36 /keyboards/hadron | |
parent | 72da3ee63e110392bebaa64dd7d862fb99097505 (diff) |
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/hadron')
-rw-r--r-- | keyboards/hadron/hadron.c | 2 | ||||
-rw-r--r-- | keyboards/hadron/hadron.h | 8 | ||||
-rw-r--r-- | keyboards/hadron/ver2/ver2.c | 2 | ||||
-rw-r--r-- | keyboards/hadron/ver2/ver2.h | 3 | ||||
-rw-r--r-- | keyboards/hadron/ver3/ver3.c | 2 | ||||
-rw-r--r-- | keyboards/hadron/ver3/ver3.h | 18 |
6 files changed, 2 insertions, 33 deletions
diff --git a/keyboards/hadron/hadron.c b/keyboards/hadron/hadron.c deleted file mode 100644 index fa5065b327..0000000000 --- a/keyboards/hadron/hadron.c +++ /dev/null @@ -1,2 +0,0 @@ -#include "hadron.h" - diff --git a/keyboards/hadron/hadron.h b/keyboards/hadron/hadron.h index 349311270e..7cc3c9702c 100644 --- a/keyboards/hadron/hadron.h +++ b/keyboards/hadron/hadron.h @@ -2,14 +2,6 @@ #include "quantum.h" -#if defined(KEYBOARD_hadron_ver0) -# include "ver0.h" -#elif defined(KEYBOARD_hadron_ver2) -# include "ver2.h" -#elif defined(KEYBOARD_hadron_ver3) -# include "ver3.h" -#endif - #define XXX KC_NO #define LAYOUT( \ diff --git a/keyboards/hadron/ver2/ver2.c b/keyboards/hadron/ver2/ver2.c index abf21d4256..583ac84a01 100644 --- a/keyboards/hadron/ver2/ver2.c +++ b/keyboards/hadron/ver2/ver2.c @@ -1,4 +1,4 @@ -#include "ver2.h" +#include "quantum.h" #ifdef OLED_ENABLE oled_rotation_t oled_init_kb(oled_rotation_t rotation) { return OLED_ROTATION_180; } diff --git a/keyboards/hadron/ver2/ver2.h b/keyboards/hadron/ver2/ver2.h deleted file mode 100644 index 8127b497f7..0000000000 --- a/keyboards/hadron/ver2/ver2.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#include "hadron.h" diff --git a/keyboards/hadron/ver3/ver3.c b/keyboards/hadron/ver3/ver3.c index 4c5a2e0c9a..d337fd9681 100644 --- a/keyboards/hadron/ver3/ver3.c +++ b/keyboards/hadron/ver3/ver3.c @@ -13,7 +13,7 @@ * 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 "ver3.h" +#include "quantum.h" #ifdef RGB_MATRIX_ENABLE diff --git a/keyboards/hadron/ver3/ver3.h b/keyboards/hadron/ver3/ver3.h deleted file mode 100644 index 1ad44b871f..0000000000 --- a/keyboards/hadron/ver3/ver3.h +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright 2018 ishtob - * - * 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 "hadron.h" |