Remove RGB_DI_PIN ifdefs (#20218)

This commit is contained in:
Ryan 2023-03-23 21:38:01 +11:00 committed by GitHub
parent b72b487b4d
commit ad625e7c06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
506 changed files with 18 additions and 1594 deletions

View file

@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN D3
#ifdef RGB_DI_PIN
# define RGBLED_NUM 9
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
@ -34,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
# define RGBLIGHT_EFFECT_RGB_TEST
//# define RGBLIGHT_EFFECT_ALTERNATING
#endif
/* disable action features */
//#define NO_ACTION_LAYER

View file

@ -17,9 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#ifdef RGB_DI_PIN
#define RGBLIGHT_LAYERS
#define RGBLIGHT_MAX_LAYERS 6
#endif

View file

@ -17,9 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#ifdef RGB_DI_PIN
#define RGBLIGHT_LAYERS
#define RGBLIGHT_MAX_LAYERS 6
#endif

View file

@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#ifdef RGB_DI_PIN
# define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 8, 7 }
#endif

View file

@ -19,17 +19,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EE_HANDS
#ifdef RGB_DI_PIN
# define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 8, 7, \//navpad side
9, 10, 11, 12, 13, 14, \//helix side
# define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 8, 7, \
9, 10, 11, 12, 13, 14, \
20, 19, 18, 17, 16, 15, \
21, 22, 23, 24, 25, 26, \
33, 32, 31, 30, 29, 28, 27, \
34, 35, 36, 37, 38, 39, 40 }
#endif
#define RGB_DI_PIN D3
#ifdef RGB_DI_PIN
# define RGBLED_NUM 9+32
# define RGBLED_SPLIT { 9, 32 }
# define RGBLIGHT_HUE_STEP 8
@ -46,7 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
# define RGBLIGHT_EFFECT_RGB_TEST
//# define RGBLIGHT_EFFECT_ALTERNATING
#endif
/* disable action features */
//#define NO_ACTION_LAYER

View file

@ -17,9 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#ifdef RGB_DI_PIN
#define RGBLIGHT_LAYERS
#define RGBLIGHT_MAX_LAYERS 6
#endif