Remove RGB_DI_PIN
ifdefs (#20218)
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user