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/lfkeyboards/lfk78/revb/revb.h | 2 ++ keyboards/lfkeyboards/lfk78/revc/revc.h | 2 ++ keyboards/lfkeyboards/lfk78/revj/revj.h | 2 ++ keyboards/lfkeyboards/smk65/revb/revb.c | 2 +- keyboards/lfkeyboards/smk65/smk65.h | 23 ----------------------- 5 files changed, 7 insertions(+), 24 deletions(-) delete mode 100644 keyboards/lfkeyboards/smk65/smk65.h (limited to 'keyboards/lfkeyboards') diff --git a/keyboards/lfkeyboards/lfk78/revb/revb.h b/keyboards/lfkeyboards/lfk78/revb/revb.h index aa48c26ed4..d81a2363cd 100644 --- a/keyboards/lfkeyboards/lfk78/revb/revb.h +++ b/keyboards/lfkeyboards/lfk78/revb/revb.h @@ -1,5 +1,7 @@ #pragma once +#include "lfk78.h" + // readability #define XXX KC_NO diff --git a/keyboards/lfkeyboards/lfk78/revc/revc.h b/keyboards/lfkeyboards/lfk78/revc/revc.h index 6a9dd87bf9..e7ab930d2f 100644 --- a/keyboards/lfkeyboards/lfk78/revc/revc.h +++ b/keyboards/lfkeyboards/lfk78/revc/revc.h @@ -1,5 +1,7 @@ #pragma once +#include "lfk78.h" + // readability #define XXX KC_NO diff --git a/keyboards/lfkeyboards/lfk78/revj/revj.h b/keyboards/lfkeyboards/lfk78/revj/revj.h index 6a9dd87bf9..e7ab930d2f 100644 --- a/keyboards/lfkeyboards/lfk78/revj/revj.h +++ b/keyboards/lfkeyboards/lfk78/revj/revj.h @@ -1,5 +1,7 @@ #pragma once +#include "lfk78.h" + // readability #define XXX KC_NO diff --git a/keyboards/lfkeyboards/smk65/revb/revb.c b/keyboards/lfkeyboards/smk65/revb/revb.c index a1d9f61284..32dbce8fd5 100644 --- a/keyboards/lfkeyboards/smk65/revb/revb.c +++ b/keyboards/lfkeyboards/smk65/revb/revb.c @@ -15,7 +15,7 @@ along with this program. If not, see . #include #include #include -#include "smk65.h" +#include "revb.h" #include "debug.h" #include "issi.h" #include "TWIlib.h" diff --git a/keyboards/lfkeyboards/smk65/smk65.h b/keyboards/lfkeyboards/smk65/smk65.h deleted file mode 100644 index 534b763de6..0000000000 --- a/keyboards/lfkeyboards/smk65/smk65.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2020 LFKeyboards -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_lfkeyboards_smk65_revb - #include "revb.h" -#elif KEYBOARD_lfkeyboards_smk65_revf - #include "revf.h" -#endif -- cgit v1.2.3