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/ergodash | |
parent | 72da3ee63e110392bebaa64dd7d862fb99097505 (diff) |
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/omkbd/ergodash')
-rw-r--r-- | keyboards/omkbd/ergodash/ergodash.c | 1 | ||||
-rw-r--r-- | keyboards/omkbd/ergodash/ergodash.h | 11 | ||||
-rw-r--r-- | keyboards/omkbd/ergodash/mini/mini.c | 2 | ||||
-rw-r--r-- | keyboards/omkbd/ergodash/mini/mini.h | 2 | ||||
-rw-r--r-- | keyboards/omkbd/ergodash/rev1/rev1.c | 2 | ||||
-rw-r--r-- | keyboards/omkbd/ergodash/rev1/rev1.h | 2 |
6 files changed, 2 insertions, 18 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 |