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/omkbd | |
parent | 72da3ee63e110392bebaa64dd7d862fb99097505 (diff) |
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/omkbd')
27 files changed, 2 insertions, 91 deletions
diff --git a/keyboards/omkbd/ergodash/ergodash.c b/keyboards/omkbd/ergodash/ergodash.c deleted file mode 100644 index 51e6dbf08f..0000000000 --- a/keyboards/omkbd/ergodash/ergodash.c +++ /dev/null @@ -1 +0,0 @@ -#include "ergodash.h" diff --git a/keyboards/omkbd/ergodash/ergodash.h b/keyboards/omkbd/ergodash/ergodash.h deleted file mode 100644 index 8c8bd3cdc3..0000000000 --- a/keyboards/omkbd/ergodash/ergodash.h +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -#include "quantum.h" - -#ifdef KEYBOARD_omkbd_ergodash_rev1 - #include "rev1.h" -#endif // #ifdef KEYBOARD_ergodash_rev1 - -#ifdef KEYBOARD_omkbd_ergodash_mini - #include "mini.h" -#endif diff --git a/keyboards/omkbd/ergodash/mini/mini.c b/keyboards/omkbd/ergodash/mini/mini.c index 3aa9e74cce..e4a1c429f8 100644 --- a/keyboards/omkbd/ergodash/mini/mini.c +++ b/keyboards/omkbd/ergodash/mini/mini.c @@ -1,4 +1,4 @@ -#include "ergodash.h" +#include "mini.h" #ifdef AUDIO_ENABLE float tone_startup[][2] = SONG(STARTUP_SOUND); diff --git a/keyboards/omkbd/ergodash/mini/mini.h b/keyboards/omkbd/ergodash/mini/mini.h index e56cfb17a6..be69cce49b 100644 --- a/keyboards/omkbd/ergodash/mini/mini.h +++ b/keyboards/omkbd/ergodash/mini/mini.h @@ -1,7 +1,5 @@ #pragma once -#include "ergodash.h" - #include "quantum.h" #ifndef FLIP_HALF diff --git a/keyboards/omkbd/ergodash/rev1/rev1.c b/keyboards/omkbd/ergodash/rev1/rev1.c index 00f81cae11..eb794f9ac7 100644 --- a/keyboards/omkbd/ergodash/rev1/rev1.c +++ b/keyboards/omkbd/ergodash/rev1/rev1.c @@ -1,4 +1,4 @@ -#include "ergodash.h" +#include "rev1.h" #ifdef AUDIO_ENABLE float tone_startup[][2] = SONG(STARTUP_SOUND); diff --git a/keyboards/omkbd/ergodash/rev1/rev1.h b/keyboards/omkbd/ergodash/rev1/rev1.h index 206c0c9bb9..4a1ee020e7 100644 --- a/keyboards/omkbd/ergodash/rev1/rev1.h +++ b/keyboards/omkbd/ergodash/rev1/rev1.h @@ -1,7 +1,5 @@ #pragma once -#include "ergodash.h" - #include "quantum.h" #define XXX KC_NO diff --git a/keyboards/omkbd/runner3680/3x6/3x6.c b/keyboards/omkbd/runner3680/3x6/3x6.c deleted file mode 100644 index 1f375c3ecb..0000000000 --- a/keyboards/omkbd/runner3680/3x6/3x6.c +++ /dev/null @@ -1 +0,0 @@ -#include "3x6.h" diff --git a/keyboards/omkbd/runner3680/3x6/3x6.h b/keyboards/omkbd/runner3680/3x6/3x6.h index c197c6de2c..3d9fd779d8 100644 --- a/keyboards/omkbd/runner3680/3x6/3x6.h +++ b/keyboards/omkbd/runner3680/3x6/3x6.h @@ -1,7 +1,5 @@ #pragma once -#include "runner3680.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/omkbd/runner3680/3x7/3x7.c b/keyboards/omkbd/runner3680/3x7/3x7.c deleted file mode 100644 index 5246953b58..0000000000 --- a/keyboards/omkbd/runner3680/3x7/3x7.c +++ /dev/null @@ -1 +0,0 @@ -#include "3x7.h" diff --git a/keyboards/omkbd/runner3680/3x7/3x7.h b/keyboards/omkbd/runner3680/3x7/3x7.h index 2e07bc3b35..db11b19c52 100644 --- a/keyboards/omkbd/runner3680/3x7/3x7.h +++ b/keyboards/omkbd/runner3680/3x7/3x7.h @@ -1,7 +1,5 @@ #pragma once -#include "runner3680.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/omkbd/runner3680/3x8/3x8.c b/keyboards/omkbd/runner3680/3x8/3x8.c deleted file mode 100644 index 8ea77001c5..0000000000 --- a/keyboards/omkbd/runner3680/3x8/3x8.c +++ /dev/null @@ -1 +0,0 @@ -#include "3x8.h" diff --git a/keyboards/omkbd/runner3680/3x8/3x8.h b/keyboards/omkbd/runner3680/3x8/3x8.h index c5856d0034..cd3b81d973 100644 --- a/keyboards/omkbd/runner3680/3x8/3x8.h +++ b/keyboards/omkbd/runner3680/3x8/3x8.h @@ -1,7 +1,5 @@ #pragma once -#include "runner3680.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/omkbd/runner3680/4x6/4x6.c b/keyboards/omkbd/runner3680/4x6/4x6.c deleted file mode 100644 index 5e68c1a9fa..0000000000 --- a/keyboards/omkbd/runner3680/4x6/4x6.c +++ /dev/null @@ -1 +0,0 @@ -#include "4x6.h" diff --git a/keyboards/omkbd/runner3680/4x6/4x6.h b/keyboards/omkbd/runner3680/4x6/4x6.h index dfc3a977b7..26bcca6de5 100644 --- a/keyboards/omkbd/runner3680/4x6/4x6.h +++ b/keyboards/omkbd/runner3680/4x6/4x6.h @@ -1,7 +1,5 @@ #pragma once -#include "runner3680.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/omkbd/runner3680/4x7/4x7.c b/keyboards/omkbd/runner3680/4x7/4x7.c deleted file mode 100644 index 568fc2dacd..0000000000 --- a/keyboards/omkbd/runner3680/4x7/4x7.c +++ /dev/null @@ -1 +0,0 @@ -#include "4x7.h" diff --git a/keyboards/omkbd/runner3680/4x7/4x7.h b/keyboards/omkbd/runner3680/4x7/4x7.h index 7bd43e1114..50fbe3a5ce 100644 --- a/keyboards/omkbd/runner3680/4x7/4x7.h +++ b/keyboards/omkbd/runner3680/4x7/4x7.h @@ -1,7 +1,5 @@ #pragma once -#include "runner3680.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/omkbd/runner3680/4x8/4x8.c b/keyboards/omkbd/runner3680/4x8/4x8.c deleted file mode 100644 index 2667548078..0000000000 --- a/keyboards/omkbd/runner3680/4x8/4x8.c +++ /dev/null @@ -1 +0,0 @@ -#include "4x8.h" diff --git a/keyboards/omkbd/runner3680/4x8/4x8.h b/keyboards/omkbd/runner3680/4x8/4x8.h index bc95b439b0..08fed12164 100644 --- a/keyboards/omkbd/runner3680/4x8/4x8.h +++ b/keyboards/omkbd/runner3680/4x8/4x8.h @@ -1,7 +1,5 @@ #pragma once -#include "runner3680.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/omkbd/runner3680/5x6/5x6.c b/keyboards/omkbd/runner3680/5x6/5x6.c deleted file mode 100644 index 0e9d5481c4..0000000000 --- a/keyboards/omkbd/runner3680/5x6/5x6.c +++ /dev/null @@ -1 +0,0 @@ -#include "5x6.h" diff --git a/keyboards/omkbd/runner3680/5x6/5x6.h b/keyboards/omkbd/runner3680/5x6/5x6.h index 5a6e70c209..8047894606 100644 --- a/keyboards/omkbd/runner3680/5x6/5x6.h +++ b/keyboards/omkbd/runner3680/5x6/5x6.h @@ -1,7 +1,5 @@ #pragma once -#include "runner3680.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/omkbd/runner3680/5x6_5x8/5x6_5x8.h b/keyboards/omkbd/runner3680/5x6_5x8/5x6_5x8.h index afceac0a89..756f90db4b 100644 --- a/keyboards/omkbd/runner3680/5x6_5x8/5x6_5x8.h +++ b/keyboards/omkbd/runner3680/5x6_5x8/5x6_5x8.h @@ -16,8 +16,6 @@ #pragma once -#include "runner3680.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/omkbd/runner3680/5x7/5x7.c b/keyboards/omkbd/runner3680/5x7/5x7.c deleted file mode 100644 index aae28e450c..0000000000 --- a/keyboards/omkbd/runner3680/5x7/5x7.c +++ /dev/null @@ -1 +0,0 @@ -#include "5x7.h" diff --git a/keyboards/omkbd/runner3680/5x7/5x7.h b/keyboards/omkbd/runner3680/5x7/5x7.h index 451ecf6cd4..1fe3397c97 100644 --- a/keyboards/omkbd/runner3680/5x7/5x7.h +++ b/keyboards/omkbd/runner3680/5x7/5x7.h @@ -1,7 +1,5 @@ #pragma once -#include "runner3680.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/omkbd/runner3680/5x8/5x8.c b/keyboards/omkbd/runner3680/5x8/5x8.c deleted file mode 100644 index 3958702572..0000000000 --- a/keyboards/omkbd/runner3680/5x8/5x8.c +++ /dev/null @@ -1 +0,0 @@ -#include "5x8.h" diff --git a/keyboards/omkbd/runner3680/5x8/5x8.h b/keyboards/omkbd/runner3680/5x8/5x8.h index de53a0eb29..b21b14259d 100644 --- a/keyboards/omkbd/runner3680/5x8/5x8.h +++ b/keyboards/omkbd/runner3680/5x8/5x8.h @@ -1,7 +1,5 @@ #pragma once -#include "runner3680.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/omkbd/runner3680/runner3680.c b/keyboards/omkbd/runner3680/runner3680.c deleted file mode 100644 index 7d8362363b..0000000000 --- a/keyboards/omkbd/runner3680/runner3680.c +++ /dev/null @@ -1 +0,0 @@ -#include "runner3680.h" diff --git a/keyboards/omkbd/runner3680/runner3680.h b/keyboards/omkbd/runner3680/runner3680.h deleted file mode 100644 index 59afecfcfa..0000000000 --- a/keyboards/omkbd/runner3680/runner3680.h +++ /dev/null @@ -1,43 +0,0 @@ -#pragma once - -#include "quantum.h" - -#ifdef KEYBOARD_omkbd_runner3680_5x8 - #include "5x8.h" -#endif - -#ifdef KEYBOARD_omkbd_runner3680_5x7 - #include "5x7.h" -#endif - -#ifdef KEYBOARD_omkbd_runner3680_5x6 - #include "5x6.h" -#endif - -#ifdef KEYBOARD_omkbd_runner3680_5x6_5x8 - #include "5x6_5x8.h" -#endif - -#ifdef KEYBOARD_omkbd_runner3680_4x8 - #include "4x8.h" -#endif - -#ifdef KEYBOARD_omkbd_runner3680_4x7 - #include "4x7.h" -#endif - -#ifdef KEYBOARD_omkbd_runner3680_4x6 - #include "4x6.h" -#endif - -#ifdef KEYBOARD_omkbd_runner3680_3x8 - #include "3x8.h" -#endif - -#ifdef KEYBOARD_omkbd_runner3680_3x7 - #include "3x7.h" -#endif - -#ifdef KEYBOARD_omkbd_runner3680_3x6 - #include "3x6.h" -#endif |