From 9e50faedae5c9c7e8a138050773b06d810505908 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 28 Dec 2023 17:07:40 +0000 Subject: [PATCH] Remove incorrect use of WS2812_PIO_USE_PIO1 (#22771) --- keyboards/abatskeyboardclub/nayeon/config.h | 2 -- keyboards/cannonkeys/bastion60/config.h | 2 -- keyboards/cannonkeys/bastion65/config.h | 2 -- keyboards/cannonkeys/bastion75/config.h | 2 -- keyboards/controllerworks/city42/config.h | 1 - keyboards/jels/jels60/v2/config.h | 1 - keyboards/kwstudio/scorpio/config.h | 20 -------------------- keyboards/lxxt/config.h | 19 ------------------- keyboards/saevus/cor_tkl/config.h | 1 - keyboards/skeletonkbd/frost68/config.h | 1 - keyboards/smoll/pw88/config.h | 21 --------------------- keyboards/tweetydabird/chameleon/config.h | 6 ------ 12 files changed, 78 deletions(-) delete mode 100644 keyboards/kwstudio/scorpio/config.h delete mode 100644 keyboards/lxxt/config.h delete mode 100644 keyboards/smoll/pw88/config.h delete mode 100644 keyboards/tweetydabird/chameleon/config.h diff --git a/keyboards/abatskeyboardclub/nayeon/config.h b/keyboards/abatskeyboardclub/nayeon/config.h index 7fedf4dce12d..f225f555f9b8 100644 --- a/keyboards/abatskeyboardclub/nayeon/config.h +++ b/keyboards/abatskeyboardclub/nayeon/config.h @@ -17,7 +17,5 @@ along with this program. If not, see . #pragma once - /* RGB Matrix setup */ #define RGB_MATRIX_LED_COUNT 2 -#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral diff --git a/keyboards/cannonkeys/bastion60/config.h b/keyboards/cannonkeys/bastion60/config.h index 206ca9cf564f..f410fb532578 100644 --- a/keyboards/cannonkeys/bastion60/config.h +++ b/keyboards/cannonkeys/bastion60/config.h @@ -10,5 +10,3 @@ #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A - -#define WS2812_PIO_USE_PIO1 diff --git a/keyboards/cannonkeys/bastion65/config.h b/keyboards/cannonkeys/bastion65/config.h index 0b93d1434be9..640aa331343d 100644 --- a/keyboards/cannonkeys/bastion65/config.h +++ b/keyboards/cannonkeys/bastion65/config.h @@ -24,5 +24,3 @@ along with this program. If not, see . #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A - -#define WS2812_PIO_USE_PIO1 diff --git a/keyboards/cannonkeys/bastion75/config.h b/keyboards/cannonkeys/bastion75/config.h index 0b93d1434be9..640aa331343d 100644 --- a/keyboards/cannonkeys/bastion75/config.h +++ b/keyboards/cannonkeys/bastion75/config.h @@ -24,5 +24,3 @@ along with this program. If not, see . #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A - -#define WS2812_PIO_USE_PIO1 diff --git a/keyboards/controllerworks/city42/config.h b/keyboards/controllerworks/city42/config.h index 4e161532f2ac..7633a27c4055 100644 --- a/keyboards/controllerworks/city42/config.h +++ b/keyboards/controllerworks/city42/config.h @@ -17,7 +17,6 @@ #pragma once -#define WS2812_PIO_USE_PIO1 #define RGB_MATRIX_LED_COUNT 42 #define SPI_SCK_PIN GP18 diff --git a/keyboards/jels/jels60/v2/config.h b/keyboards/jels/jels60/v2/config.h index 02d9619a301c..c9c1ba2c0e2c 100644 --- a/keyboards/jels/jels60/v2/config.h +++ b/keyboards/jels/jels60/v2/config.h @@ -16,7 +16,6 @@ #pragma once -#define WS2812_PIO_USE_PIO1 #define RGBLIGHT_DEFAULT_VAL 0 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ diff --git a/keyboards/kwstudio/scorpio/config.h b/keyboards/kwstudio/scorpio/config.h deleted file mode 100644 index 2f136dd0011f..000000000000 --- a/keyboards/kwstudio/scorpio/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2023 kwstudio - * - * 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 . - */ - -#pragma once - -#define WS2812_PIO_USE_PIO1 - diff --git a/keyboards/lxxt/config.h b/keyboards/lxxt/config.h deleted file mode 100644 index 03ef56622c0c..000000000000 --- a/keyboards/lxxt/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2023 DeskDaily - * - * 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 . - */ - -#pragma once - -#define WS2812_PIO_USE_PIO1 \ No newline at end of file diff --git a/keyboards/saevus/cor_tkl/config.h b/keyboards/saevus/cor_tkl/config.h index 7fedf4dce12d..5a086eb76827 100644 --- a/keyboards/saevus/cor_tkl/config.h +++ b/keyboards/saevus/cor_tkl/config.h @@ -20,4 +20,3 @@ along with this program. If not, see . /* RGB Matrix setup */ #define RGB_MATRIX_LED_COUNT 2 -#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral diff --git a/keyboards/skeletonkbd/frost68/config.h b/keyboards/skeletonkbd/frost68/config.h index de768e745bae..4300462691bd 100644 --- a/keyboards/skeletonkbd/frost68/config.h +++ b/keyboards/skeletonkbd/frost68/config.h @@ -3,7 +3,6 @@ #pragma once -#define WS2812_PIO_USE_PIO1 #define RGB_MATRIX_LED_COUNT 68 #define RGB_MATRIX_SLEEP diff --git a/keyboards/smoll/pw88/config.h b/keyboards/smoll/pw88/config.h deleted file mode 100644 index f655b9252728..000000000000 --- a/keyboards/smoll/pw88/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2023 Matthijs Muller - -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 . -*/ - - -#pragma once - -#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral diff --git a/keyboards/tweetydabird/chameleon/config.h b/keyboards/tweetydabird/chameleon/config.h deleted file mode 100644 index ba31336014e8..000000000000 --- a/keyboards/tweetydabird/chameleon/config.h +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2023 Markus Knutsson (@TweetyDaBird) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral