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/keebio/quefrency | |
parent | 72da3ee63e110392bebaa64dd7d862fb99097505 (diff) |
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/keebio/quefrency')
-rw-r--r-- | keyboards/keebio/quefrency/quefrency.c | 1 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/quefrency.h | 19 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/rev1/rev1.c | 2 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/rev1/rev1.h | 2 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/rev2/rev2.c | 2 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/rev2/rev2.h | 1 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/rev3/rev3.c | 2 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/rev3/rev3.h | 1 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/rev4/rev4.c | 2 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/rev4/rev4.h | 1 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/rev5/rev5.c | 2 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/rev5/rev5.h | 1 |
12 files changed, 5 insertions, 31 deletions
diff --git a/keyboards/keebio/quefrency/quefrency.c b/keyboards/keebio/quefrency/quefrency.c deleted file mode 100644 index d713a0ff3a..0000000000 --- a/keyboards/keebio/quefrency/quefrency.c +++ /dev/null @@ -1 +0,0 @@ -#include "quefrency.h" diff --git a/keyboards/keebio/quefrency/quefrency.h b/keyboards/keebio/quefrency/quefrency.h deleted file mode 100644 index d9a14c439c..0000000000 --- a/keyboards/keebio/quefrency/quefrency.h +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include "quantum.h" - -#ifdef KEYBOARD_keebio_quefrency_rev1 - #include "rev1.h" -#endif -#ifdef KEYBOARD_keebio_quefrency_rev2 - #include "rev2.h" -#endif -#ifdef KEYBOARD_keebio_quefrency_rev3 - #include "rev3.h" -#endif -#ifdef KEYBOARD_keebio_quefrency_rev4 - #include "rev4.h" -#endif -#ifdef KEYBOARD_keebio_quefrency_rev5 - #include "rev5.h" -#endif diff --git a/keyboards/keebio/quefrency/rev1/rev1.c b/keyboards/keebio/quefrency/rev1/rev1.c index 6704b062f5..f34f85b2cc 100644 --- a/keyboards/keebio/quefrency/rev1/rev1.c +++ b/keyboards/keebio/quefrency/rev1/rev1.c @@ -1,4 +1,4 @@ -#include "quefrency.h" +#include "rev1.h" void eeconfig_init_kb(void) { #ifdef RGBLIGHT_ENABLE diff --git a/keyboards/keebio/quefrency/rev1/rev1.h b/keyboards/keebio/quefrency/rev1/rev1.h index 1c3581b3a9..89a9c4a19d 100644 --- a/keyboards/keebio/quefrency/rev1/rev1.h +++ b/keyboards/keebio/quefrency/rev1/rev1.h @@ -1,7 +1,5 @@ #pragma once -#include "quefrency.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/keebio/quefrency/rev2/rev2.c b/keyboards/keebio/quefrency/rev2/rev2.c index 4e3e75a21f..3992687b7a 100644 --- a/keyboards/keebio/quefrency/rev2/rev2.c +++ b/keyboards/keebio/quefrency/rev2/rev2.c @@ -1,4 +1,4 @@ -#include "quefrency.h" +#include "rev2.h" #include "split_util.h" void matrix_init_kb(void) { diff --git a/keyboards/keebio/quefrency/rev2/rev2.h b/keyboards/keebio/quefrency/rev2/rev2.h index 31d1052fac..e9814575b2 100644 --- a/keyboards/keebio/quefrency/rev2/rev2.h +++ b/keyboards/keebio/quefrency/rev2/rev2.h @@ -1,6 +1,5 @@ #pragma once -#include "quefrency.h" #include "quantum.h" #define LAYOUT_60( \ diff --git a/keyboards/keebio/quefrency/rev3/rev3.c b/keyboards/keebio/quefrency/rev3/rev3.c index 52ce977ac7..24791f75d0 100644 --- a/keyboards/keebio/quefrency/rev3/rev3.c +++ b/keyboards/keebio/quefrency/rev3/rev3.c @@ -14,7 +14,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 "quefrency.h" +#include "rev3.h" #include "split_util.h" void matrix_init_kb(void) { diff --git a/keyboards/keebio/quefrency/rev3/rev3.h b/keyboards/keebio/quefrency/rev3/rev3.h index 12f76d5c85..120186f9c0 100644 --- a/keyboards/keebio/quefrency/rev3/rev3.h +++ b/keyboards/keebio/quefrency/rev3/rev3.h @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "quefrency.h" #include "quantum.h" #define LAYOUT_60( \ diff --git a/keyboards/keebio/quefrency/rev4/rev4.c b/keyboards/keebio/quefrency/rev4/rev4.c index 66d73a934a..78e48dcf70 100644 --- a/keyboards/keebio/quefrency/rev4/rev4.c +++ b/keyboards/keebio/quefrency/rev4/rev4.c @@ -14,7 +14,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 "quefrency.h" +#include "rev4.h" #ifdef ENCODER_ENABLE bool encoder_update_kb(uint8_t index, bool clockwise) { diff --git a/keyboards/keebio/quefrency/rev4/rev4.h b/keyboards/keebio/quefrency/rev4/rev4.h index 2284a6da43..4f51cc8f32 100644 --- a/keyboards/keebio/quefrency/rev4/rev4.h +++ b/keyboards/keebio/quefrency/rev4/rev4.h @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "quefrency.h" #include "quantum.h" #define LAYOUT_60( \ diff --git a/keyboards/keebio/quefrency/rev5/rev5.c b/keyboards/keebio/quefrency/rev5/rev5.c index 66d73a934a..a94fecd967 100644 --- a/keyboards/keebio/quefrency/rev5/rev5.c +++ b/keyboards/keebio/quefrency/rev5/rev5.c @@ -14,7 +14,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 "quefrency.h" +#include "rev5.h" #ifdef ENCODER_ENABLE bool encoder_update_kb(uint8_t index, bool clockwise) { diff --git a/keyboards/keebio/quefrency/rev5/rev5.h b/keyboards/keebio/quefrency/rev5/rev5.h index 2284a6da43..4f51cc8f32 100644 --- a/keyboards/keebio/quefrency/rev5/rev5.h +++ b/keyboards/keebio/quefrency/rev5/rev5.h @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "quefrency.h" #include "quantum.h" #define LAYOUT_60( \ |