summaryrefslogtreecommitdiffstats
path: root/keyboards/lfkeyboards
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-16 20:18:33 +1100
committerGitHub <noreply@github.com>2023-03-16 20:18:33 +1100
commit9dbee3e23d28e5f61384bbb5650505a572022341 (patch)
treebfa5fae549305e780fb81ce7275ced1f808a7e36 /keyboards/lfkeyboards
parent72da3ee63e110392bebaa64dd7d862fb99097505 (diff)
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/lfkeyboards')
-rw-r--r--keyboards/lfkeyboards/lfk78/revb/revb.h2
-rw-r--r--keyboards/lfkeyboards/lfk78/revc/revc.h2
-rw-r--r--keyboards/lfkeyboards/lfk78/revj/revj.h2
-rw-r--r--keyboards/lfkeyboards/smk65/revb/revb.c2
-rw-r--r--keyboards/lfkeyboards/smk65/smk65.h23
5 files changed, 7 insertions, 24 deletions
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 <http://www.gnu.org/licenses/>.
#include <avr/sfr_defs.h>
#include <avr/timer_avr.h>
#include <avr/wdt.h>
-#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 <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#include "quantum.h"
-
-#ifdef KEYBOARD_lfkeyboards_smk65_revb
- #include "revb.h"
-#elif KEYBOARD_lfkeyboards_smk65_revf
- #include "revf.h"
-#endif