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/handwired/split65 | |
parent | 72da3ee63e110392bebaa64dd7d862fb99097505 (diff) |
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/handwired/split65')
-rw-r--r-- | keyboards/handwired/split65/promicro/promicro.c | 16 | ||||
-rw-r--r-- | keyboards/handwired/split65/promicro/promicro.h | 2 | ||||
-rw-r--r-- | keyboards/handwired/split65/split65.c | 2 | ||||
-rw-r--r-- | keyboards/handwired/split65/split65.h | 24 | ||||
-rw-r--r-- | keyboards/handwired/split65/stm32/stm32.c | 16 | ||||
-rw-r--r-- | keyboards/handwired/split65/stm32/stm32.h | 2 |
6 files changed, 3 insertions, 59 deletions
diff --git a/keyboards/handwired/split65/promicro/promicro.c b/keyboards/handwired/split65/promicro/promicro.c deleted file mode 100644 index 2f7e1ebab4..0000000000 --- a/keyboards/handwired/split65/promicro/promicro.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2020-2021 PercyJW-2 <joris.wachsmuth@gmail.com> - * - * 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/>. - */ -#include "promicro.h" diff --git a/keyboards/handwired/split65/promicro/promicro.h b/keyboards/handwired/split65/promicro/promicro.h index 204f0b88de..8c4e656cf2 100644 --- a/keyboards/handwired/split65/promicro/promicro.h +++ b/keyboards/handwired/split65/promicro/promicro.h @@ -15,7 +15,7 @@ */ #pragma once -#include "split65.h" +#include "quantum.h" #define LAYOUT( \ L00, L01, L02, L03, L04, L05, L06, R07, R06, R05, R04, R03, R02, R01, R00, \ diff --git a/keyboards/handwired/split65/split65.c b/keyboards/handwired/split65/split65.c index 9d0831c025..a32af1f140 100644 --- a/keyboards/handwired/split65/split65.c +++ b/keyboards/handwired/split65/split65.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 "split65.h" +#include "quantum.h" // OLED Code inspired by https://github.com/qmk/qmk_firmware/blob/master/keyboards/splitkb/kyria/rev1/rev1.c diff --git a/keyboards/handwired/split65/split65.h b/keyboards/handwired/split65/split65.h deleted file mode 100644 index 7f60ab0bde..0000000000 --- a/keyboards/handwired/split65/split65.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2020-2021 PercyJW-2 <joris.wachsmuth@gmail.com> - * - * 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 - -#include "quantum.h" - -#if defined(KEYBOARD_handwired_split65_stm32) - #include "stm32.h" -#elif defined(KEYBOARD_handwired_split65_promicro) - #include "promicro.h" -#endif diff --git a/keyboards/handwired/split65/stm32/stm32.c b/keyboards/handwired/split65/stm32/stm32.c deleted file mode 100644 index 2fa511206e..0000000000 --- a/keyboards/handwired/split65/stm32/stm32.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2020-2021 PercyJW-2 <joris.wachsmuth@gmail.com> - * - * 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/>. - */ -#include "stm32.h" diff --git a/keyboards/handwired/split65/stm32/stm32.h b/keyboards/handwired/split65/stm32/stm32.h index 27f03b3e26..be3dd1639b 100644 --- a/keyboards/handwired/split65/stm32/stm32.h +++ b/keyboards/handwired/split65/stm32/stm32.h @@ -15,7 +15,7 @@ */ #pragma once -#include "split65.h" +#include "quantum.h" #define LAYOUT( \ L00, L01, L02, L03, L04, L05, L06, R07, R06, R05, R04, R03, R02, R01, R00, \ |