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/bear_face/bear_face.c | 18 ------------------ keyboards/bear_face/bear_face.h | 26 -------------------------- keyboards/bear_face/v1/v1.c | 2 +- keyboards/bear_face/v2/v2.c | 2 +- 4 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 keyboards/bear_face/bear_face.c delete mode 100644 keyboards/bear_face/bear_face.h (limited to 'keyboards/bear_face') diff --git a/keyboards/bear_face/bear_face.c b/keyboards/bear_face/bear_face.c deleted file mode 100644 index 30aa5140d4..0000000000 --- a/keyboards/bear_face/bear_face.c +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2020 chemicalwill - -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 . -*/ - -#include "bear_face.h" diff --git a/keyboards/bear_face/bear_face.h b/keyboards/bear_face/bear_face.h deleted file mode 100644 index c63b2bd012..0000000000 --- a/keyboards/bear_face/bear_face.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2020 chemicalwill - -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" - -#if defined(KEYBOARD_bear_face_v1) -# include "v1.h" -#elif defined(KEYBOARD_bear_face_v2) -# include "v2.h" -#endif diff --git a/keyboards/bear_face/v1/v1.c b/keyboards/bear_face/v1/v1.c index 443b3016d7..3f10d10994 100644 --- a/keyboards/bear_face/v1/v1.c +++ b/keyboards/bear_face/v1/v1.c @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "bear_face.h" +#include "v1.h" void keyboard_pre_init_kb(void) { //Sets LED pin as output diff --git a/keyboards/bear_face/v2/v2.c b/keyboards/bear_face/v2/v2.c index 443b3016d7..cf97145688 100644 --- a/keyboards/bear_face/v2/v2.c +++ b/keyboards/bear_face/v2/v2.c @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "bear_face.h" +#include "v2.h" void keyboard_pre_init_kb(void) { //Sets LED pin as output -- cgit v1.2.3