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/avalanche | |
parent | 72da3ee63e110392bebaa64dd7d862fb99097505 (diff) |
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/avalanche')
-rw-r--r-- | keyboards/avalanche/avalanche.c | 2 | ||||
-rw-r--r-- | keyboards/avalanche/avalanche.h | 16 | ||||
-rw-r--r-- | keyboards/avalanche/v1/v1.c | 4 | ||||
-rw-r--r-- | keyboards/avalanche/v1/v1.h | 2 | ||||
-rw-r--r-- | keyboards/avalanche/v2/v2.c | 4 | ||||
-rw-r--r-- | keyboards/avalanche/v2/v2.h | 2 | ||||
-rw-r--r-- | keyboards/avalanche/v3/v3.c | 4 | ||||
-rw-r--r-- | keyboards/avalanche/v3/v3.h | 2 | ||||
-rw-r--r-- | keyboards/avalanche/v4/v4.c | 2 | ||||
-rw-r--r-- | keyboards/avalanche/v4/v4.h | 2 |
10 files changed, 2 insertions, 38 deletions
diff --git a/keyboards/avalanche/avalanche.c b/keyboards/avalanche/avalanche.c index 7efdf591d5..53bc5bd6aa 100644 --- a/keyboards/avalanche/avalanche.c +++ b/keyboards/avalanche/avalanche.c @@ -1,7 +1,7 @@ // Copyright 2022 Vitaly Volkov (@vlkv) // SPDX-License-Identifier: GPL-2.0-or-later -#include "avalanche.h" +#include "quantum.h" #ifdef ENCODER_ENABLE bool encoder_update_kb(uint8_t index, bool clockwise) { diff --git a/keyboards/avalanche/avalanche.h b/keyboards/avalanche/avalanche.h deleted file mode 100644 index 916019f0d0..0000000000 --- a/keyboards/avalanche/avalanche.h +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2022 Vitaly Volkov (@vlkv) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#ifdef KEYBOARD_avalanche_v1 - #include "v1.h" -#elif KEYBOARD_avalanche_v2 - #include "v2.h" -#elif KEYBOARD_avalanche_v3 - #include "v3.h" -#elif KEYBOARD_avalanche_v4 - #include "v4.h" -#endif - -#include "quantum.h" diff --git a/keyboards/avalanche/v1/v1.c b/keyboards/avalanche/v1/v1.c deleted file mode 100644 index 1a0cff2e51..0000000000 --- a/keyboards/avalanche/v1/v1.c +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2022 Vitaly Volkov (@vlkv) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "avalanche.h" diff --git a/keyboards/avalanche/v1/v1.h b/keyboards/avalanche/v1/v1.h index a8f55c7536..dd6c921e69 100644 --- a/keyboards/avalanche/v1/v1.h +++ b/keyboards/avalanche/v1/v1.h @@ -3,8 +3,6 @@ #pragma once -#include "avalanche.h" - #include "quantum.h" #define L__ KC_NO diff --git a/keyboards/avalanche/v2/v2.c b/keyboards/avalanche/v2/v2.c deleted file mode 100644 index 1a0cff2e51..0000000000 --- a/keyboards/avalanche/v2/v2.c +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2022 Vitaly Volkov (@vlkv) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "avalanche.h" diff --git a/keyboards/avalanche/v2/v2.h b/keyboards/avalanche/v2/v2.h index 6832becdf7..f8319c3ef4 100644 --- a/keyboards/avalanche/v2/v2.h +++ b/keyboards/avalanche/v2/v2.h @@ -3,8 +3,6 @@ #pragma once -#include "avalanche.h" - #include "quantum.h" #define L__ KC_NO diff --git a/keyboards/avalanche/v3/v3.c b/keyboards/avalanche/v3/v3.c deleted file mode 100644 index 1a0cff2e51..0000000000 --- a/keyboards/avalanche/v3/v3.c +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2022 Vitaly Volkov (@vlkv) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "avalanche.h" diff --git a/keyboards/avalanche/v3/v3.h b/keyboards/avalanche/v3/v3.h index fde80607b2..426f979e9b 100644 --- a/keyboards/avalanche/v3/v3.h +++ b/keyboards/avalanche/v3/v3.h @@ -3,8 +3,6 @@ #pragma once -#include "avalanche.h" - #include "quantum.h" #define L__ KC_NO diff --git a/keyboards/avalanche/v4/v4.c b/keyboards/avalanche/v4/v4.c index 69c64fc53c..e5a651ce4a 100644 --- a/keyboards/avalanche/v4/v4.c +++ b/keyboards/avalanche/v4/v4.c @@ -1,7 +1,7 @@ // Copyright 2022 Vitaly Volkov (@vlkv) // SPDX-License-Identifier: GPL-2.0-or-later -#include "avalanche.h" +#include "v4.h" #ifdef OLED_ENABLE oled_rotation_t oled_init_kb(oled_rotation_t rotation) { diff --git a/keyboards/avalanche/v4/v4.h b/keyboards/avalanche/v4/v4.h index fde80607b2..426f979e9b 100644 --- a/keyboards/avalanche/v4/v4.h +++ b/keyboards/avalanche/v4/v4.h @@ -3,8 +3,6 @@ #pragma once -#include "avalanche.h" - #include "quantum.h" #define L__ KC_NO |