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/clueboard/66_hotswap/66_hotswap.c | 1 - keyboards/clueboard/66_hotswap/66_hotswap.h | 9 --------- keyboards/clueboard/66_hotswap/gen1/gen1.c | 2 +- keyboards/clueboard/66_hotswap/gen1/gen1.h | 18 ------------------ keyboards/clueboard/66_hotswap/prototype/prototype.c | 2 +- keyboards/clueboard/66_hotswap/prototype/prototype.h | 3 --- 6 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 keyboards/clueboard/66_hotswap/66_hotswap.c delete mode 100644 keyboards/clueboard/66_hotswap/66_hotswap.h delete mode 100644 keyboards/clueboard/66_hotswap/gen1/gen1.h delete mode 100644 keyboards/clueboard/66_hotswap/prototype/prototype.h (limited to 'keyboards/clueboard/66_hotswap') diff --git a/keyboards/clueboard/66_hotswap/66_hotswap.c b/keyboards/clueboard/66_hotswap/66_hotswap.c deleted file mode 100644 index cc38050a9e..0000000000 --- a/keyboards/clueboard/66_hotswap/66_hotswap.c +++ /dev/null @@ -1 +0,0 @@ -#include "66_hotswap.h" diff --git a/keyboards/clueboard/66_hotswap/66_hotswap.h b/keyboards/clueboard/66_hotswap/66_hotswap.h deleted file mode 100644 index a1ea44841f..0000000000 --- a/keyboards/clueboard/66_hotswap/66_hotswap.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -#ifdef KEYBOARD_clueboard_66_hotswap_gen1 - #include "gen1.h" -#endif - -#ifdef KEYBOARD_clueboard_66_hotswap_prototype - #include "prototype.h" -#endif diff --git a/keyboards/clueboard/66_hotswap/gen1/gen1.c b/keyboards/clueboard/66_hotswap/gen1/gen1.c index 72b8b8bbab..a935884a0b 100644 --- a/keyboards/clueboard/66_hotswap/gen1/gen1.c +++ b/keyboards/clueboard/66_hotswap/gen1/gen1.c @@ -13,7 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#include "gen1.h" +#include "quantum.h" #ifdef LED_MATRIX_ENABLE const is31_led PROGMEM g_is31_leds[LED_MATRIX_LED_COUNT] = { diff --git a/keyboards/clueboard/66_hotswap/gen1/gen1.h b/keyboards/clueboard/66_hotswap/gen1/gen1.h deleted file mode 100644 index 98f9ba1424..0000000000 --- a/keyboards/clueboard/66_hotswap/gen1/gen1.h +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright 2017 Clueboard - * - * 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" - diff --git a/keyboards/clueboard/66_hotswap/prototype/prototype.c b/keyboards/clueboard/66_hotswap/prototype/prototype.c index 4ce3dd65f7..c89fbafbff 100644 --- a/keyboards/clueboard/66_hotswap/prototype/prototype.c +++ b/keyboards/clueboard/66_hotswap/prototype/prototype.c @@ -1,4 +1,4 @@ -#include "prototype.h" +#include "quantum.h" #include "print.h" void backlight_init_ports(void) { diff --git a/keyboards/clueboard/66_hotswap/prototype/prototype.h b/keyboards/clueboard/66_hotswap/prototype/prototype.h deleted file mode 100644 index 1277cfbbab..0000000000 --- a/keyboards/clueboard/66_hotswap/prototype/prototype.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once -#include "quantum.h" - -- cgit v1.2.3