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/helix | |
parent | 72da3ee63e110392bebaa64dd7d862fb99097505 (diff) |
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/helix')
-rw-r--r-- | keyboards/helix/helix.c | 1 | ||||
-rw-r--r-- | keyboards/helix/helix.h | 19 | ||||
-rw-r--r-- | keyboards/helix/pico/pico.c | 2 | ||||
-rw-r--r-- | keyboards/helix/pico/pico.h | 2 | ||||
-rw-r--r-- | keyboards/helix/rev2/rev2.c | 2 | ||||
-rw-r--r-- | keyboards/helix/rev2/rev2.h | 2 | ||||
-rw-r--r-- | keyboards/helix/rev3_4rows/rev3_4rows.c | 2 | ||||
-rw-r--r-- | keyboards/helix/rev3_5rows/rev3_5rows.c | 2 |
8 files changed, 6 insertions, 26 deletions
diff --git a/keyboards/helix/helix.c b/keyboards/helix/helix.c deleted file mode 100644 index 539abd5349..0000000000 --- a/keyboards/helix/helix.c +++ /dev/null @@ -1 +0,0 @@ -#include "helix.h" diff --git a/keyboards/helix/helix.h b/keyboards/helix/helix.h deleted file mode 100644 index b900d975d2..0000000000 --- a/keyboards/helix/helix.h +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include "quantum.h" - -#ifdef KEYBOARD_helix_rev1 - #include "rev1.h" -#endif -#ifdef KEYBOARD_helix_rev2 - #include "rev2.h" -#endif -#ifdef KEYBOARD_helix_rev3_5rows - #include "rev3_5rows.h" -#endif -#ifdef KEYBOARD_helix_rev3_4rows - #include "rev3_4rows.h" -#endif -#ifdef KEYBOARD_helix_pico - #include "pico.h" -#endif diff --git a/keyboards/helix/pico/pico.c b/keyboards/helix/pico/pico.c index 4cd1953632..cc98fe8f61 100644 --- a/keyboards/helix/pico/pico.c +++ b/keyboards/helix/pico/pico.c @@ -13,7 +13,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 "helix.h" +#include "pico.h" // Each keymap.c should use is_keyboard_master() instead of 'is_master'. // But keep 'is_master' for a while for backwards compatibility diff --git a/keyboards/helix/pico/pico.h b/keyboards/helix/pico/pico.h index 3e51d54d84..e555691583 100644 --- a/keyboards/helix/pico/pico.h +++ b/keyboards/helix/pico/pico.h @@ -15,7 +15,7 @@ */ #pragma once -#include "helix.h" +#include "quantum.h" // Each keymap.c should use is_keyboard_master() instead of 'is_master', 'has_usb()'. // But keep 'is_master' for a while for backwards compatibility diff --git a/keyboards/helix/rev2/rev2.c b/keyboards/helix/rev2/rev2.c index 2bbe9a28e2..ded22bbe93 100644 --- a/keyboards/helix/rev2/rev2.c +++ b/keyboards/helix/rev2/rev2.c @@ -13,7 +13,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 "helix.h" +#include "rev2.h" // Each keymap.c should use is_keyboard_master() instead of 'is_master'. // But keep 'is_master' for a while for backwards compatibility diff --git a/keyboards/helix/rev2/rev2.h b/keyboards/helix/rev2/rev2.h index fccbaf1ac4..dd1d74a298 100644 --- a/keyboards/helix/rev2/rev2.h +++ b/keyboards/helix/rev2/rev2.h @@ -15,7 +15,7 @@ */ #pragma once -#include "helix.h" +#include "quantum.h" bool is_mac_mode(void); void set_mac_mode_kb(bool macmode); diff --git a/keyboards/helix/rev3_4rows/rev3_4rows.c b/keyboards/helix/rev3_4rows/rev3_4rows.c index 704f915510..ff61027a96 100644 --- a/keyboards/helix/rev3_4rows/rev3_4rows.c +++ b/keyboards/helix/rev3_4rows/rev3_4rows.c @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "helix.h" +#include "rev3_4rows.h" bool is_mac_mode(void) { return keymap_config.swap_lalt_lgui == false; diff --git a/keyboards/helix/rev3_5rows/rev3_5rows.c b/keyboards/helix/rev3_5rows/rev3_5rows.c index 704f915510..28fa314a7b 100644 --- a/keyboards/helix/rev3_5rows/rev3_5rows.c +++ b/keyboards/helix/rev3_5rows/rev3_5rows.c @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "helix.h" +#include "rev3_5rows.h" bool is_mac_mode(void) { return keymap_config.swap_lalt_lgui == false; |