From 1c650aa55ca410bd888bb419604aa4feab56764e Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 21 May 2024 13:38:30 +0100 Subject: [PATCH] Remove includes of config.h (#23760) --- keyboards/converter/hp_46010a/matrix.c | 3 --- .../satan/keymaps/iso_split_rshift/config.h | 7 +----- keyboards/handwired/owlet60/matrix.c | 1 - keyboards/handwired/xealous/matrix.c | 1 - keyboards/kinesis/alvicstep/matrix.c | 1 - .../mini/keymaps/default-gsm-newbs/config.h | 24 ------------------- .../rama_works_m6_a/keymaps/naut/config.h | 24 ------------------- 7 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 keyboards/knops/mini/keymaps/default-gsm-newbs/config.h delete mode 100644 keyboards/wilba_tech/rama_works_m6_a/keymaps/naut/config.h diff --git a/keyboards/converter/hp_46010a/matrix.c b/keyboards/converter/hp_46010a/matrix.c index a36e8821a38..d9d9eec48f0 100644 --- a/keyboards/converter/hp_46010a/matrix.c +++ b/keyboards/converter/hp_46010a/matrix.c @@ -31,9 +31,6 @@ along with this program. If not, see . #include "timer.h" #include -#include "config.h" - - #ifndef DEBOUNCE # define DEBOUNCE 5 #endif diff --git a/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h b/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h index 6795cf6c979..7f3ca253aa5 100644 --- a/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h +++ b/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h @@ -15,13 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" +#pragma once // only change #undef WS2812_DI_PIN #define WS2812_DI_PIN B2 - -#endif diff --git a/keyboards/handwired/owlet60/matrix.c b/keyboards/handwired/owlet60/matrix.c index 43895468e9d..7ef5d66a9fb 100644 --- a/keyboards/handwired/owlet60/matrix.c +++ b/keyboards/handwired/owlet60/matrix.c @@ -26,7 +26,6 @@ along with this program. If not, see . #include "debug.h" #include "util.h" #include "matrix.h" -#include "config.h" #include "timer.h" #if (MATRIX_COLS <= 8) diff --git a/keyboards/handwired/xealous/matrix.c b/keyboards/handwired/xealous/matrix.c index 46410b986dc..b8ae9fd7385 100644 --- a/keyboards/handwired/xealous/matrix.c +++ b/keyboards/handwired/xealous/matrix.c @@ -27,7 +27,6 @@ along with this program. If not, see . #include "util.h" #include "matrix.h" #include "split_util.h" -#include "config.h" #include "timer.h" // Copy this code to split_common/matrix.c, diff --git a/keyboards/kinesis/alvicstep/matrix.c b/keyboards/kinesis/alvicstep/matrix.c index e1e637725b2..e45b9823c19 100644 --- a/keyboards/kinesis/alvicstep/matrix.c +++ b/keyboards/kinesis/alvicstep/matrix.c @@ -28,7 +28,6 @@ along with this program. If not, see . #include "util.h" #include "matrix.h" #include "led.h" -#include "config.h" #ifndef DEBOUNCE # define DEBOUNCE 5 diff --git a/keyboards/knops/mini/keymaps/default-gsm-newbs/config.h b/keyboards/knops/mini/keymaps/default-gsm-newbs/config.h deleted file mode 100644 index 999d8876c2b..00000000000 --- a/keyboards/knops/mini/keymaps/default-gsm-newbs/config.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2017 Pawnerd - * - * 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 . - */ - -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" - -// place overrides here - -#endif diff --git a/keyboards/wilba_tech/rama_works_m6_a/keymaps/naut/config.h b/keyboards/wilba_tech/rama_works_m6_a/keymaps/naut/config.h deleted file mode 100644 index 7f642203aac..00000000000 --- a/keyboards/wilba_tech/rama_works_m6_a/keymaps/naut/config.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2018 Wilba - * - * 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 . - */ - -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" - -// place overrides here - -#endif \ No newline at end of file