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/crkbd | |
parent | 72da3ee63e110392bebaa64dd7d862fb99097505 (diff) |
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/crkbd')
-rw-r--r-- | keyboards/crkbd/crkbd.c | 2 | ||||
-rw-r--r-- | keyboards/crkbd/crkbd.h | 28 | ||||
-rw-r--r-- | keyboards/crkbd/r2g/r2g.h | 1 | ||||
-rw-r--r-- | keyboards/crkbd/rev1/rev1.h | 1 |
4 files changed, 1 insertions, 31 deletions
diff --git a/keyboards/crkbd/crkbd.c b/keyboards/crkbd/crkbd.c index 6220c9822a..aadc0bacf0 100644 --- a/keyboards/crkbd/crkbd.c +++ b/keyboards/crkbd/crkbd.c @@ -16,7 +16,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 "crkbd.h" +#include "quantum.h" #ifdef SWAP_HANDS_ENABLE __attribute__ ((weak)) diff --git a/keyboards/crkbd/crkbd.h b/keyboards/crkbd/crkbd.h deleted file mode 100644 index 3fae1a400c..0000000000 --- a/keyboards/crkbd/crkbd.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2019 @foostan -Copyright 2020 Drashna Jaelre <@drashna> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ -#pragma once - -#ifdef KEYBOARD_crkbd_rev1 -# include "rev1.h" -#endif -#ifdef KEYBOARD_crkbd_r2g -# include "r2g.h" -#endif - - -#include "quantum.h" diff --git a/keyboards/crkbd/r2g/r2g.h b/keyboards/crkbd/r2g/r2g.h index 126c4b8998..fd3cf557a7 100644 --- a/keyboards/crkbd/r2g/r2g.h +++ b/keyboards/crkbd/r2g/r2g.h @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "crkbd.h" #include "quantum.h" // clang-format off diff --git a/keyboards/crkbd/rev1/rev1.h b/keyboards/crkbd/rev1/rev1.h index 126c4b8998..fd3cf557a7 100644 --- a/keyboards/crkbd/rev1/rev1.h +++ b/keyboards/crkbd/rev1/rev1.h @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "crkbd.h" #include "quantum.h" // clang-format off |