Pārlūkot izejas kodu

Remove all of the deprecated RGB defines

Fixes #3641
Drashna Jaelre 7 gadi atpakaļ
vecāks
revīzija
7e99d869de
58 mainītis faili ar 62 papildinājumiem un 180 dzēšanām
  1. 0 3
      drivers/avr/ws2812.h
  2. 1 3
      keyboards/6ball/config.h
  3. 1 3
      keyboards/9key/config.h
  4. 0 3
      keyboards/amj40/keymaps/default/rules.mk
  5. 1 9
      keyboards/amj40/keymaps/fabian/rules.mk
  6. 0 8
      keyboards/amj40/keymaps/jetpacktuxedo/rules.mk
  7. 1 9
      keyboards/amj40/keymaps/myee/rules.mk
  8. 1 1
      keyboards/bfo9000/config.h
  9. 1 4
      keyboards/blockey/config.h
  10. 1 3
      keyboards/chocopad/config.h
  11. 1 3
      keyboards/crkbd/rev1/config.h
  12. 2 4
      keyboards/deltasplit75/v2/config.h
  13. 1 3
      keyboards/dilly/config.h
  14. 1 3
      keyboards/ergo42/rev1/config.h
  15. 1 3
      keyboards/ergodash/mini/config.h
  16. 1 3
      keyboards/ergodash/rev1/config.h
  17. 1 3
      keyboards/ergodash/rev2/config.h
  18. 1 4
      keyboards/ergotravel/rev1/config.h
  19. 1 1
      keyboards/fortitude60/rev1/config.h
  20. 1 3
      keyboards/fourier/rev1/config.h
  21. 3 10
      keyboards/gh60/keymaps/dbroqua/config.h
  22. 3 10
      keyboards/gh60/keymaps/robotmaxtron/config.h
  23. 1 3
      keyboards/handwired/dactyl_manuform/config.h
  24. 0 2
      keyboards/handwired/qc60/proto/config.h
  25. 1 3
      keyboards/helix/pico/config.h
  26. 1 4
      keyboards/helix/rev1/config.h
  27. 1 3
      keyboards/helix/rev2/config.h
  28. 1 1
      keyboards/iris/rev1/config.h
  29. 1 1
      keyboards/iris/rev1_led/config.h
  30. 1 1
      keyboards/iris/rev2/config.h
  31. 1 1
      keyboards/iris/rev3/config.h
  32. 1 3
      keyboards/lets_split/keymaps/zer09/config.h
  33. 1 3
      keyboards/lets_split/rev1/config.h
  34. 1 3
      keyboards/lets_split/rev2/config.h
  35. 1 3
      keyboards/lets_split/sockets/config.h
  36. 1 1
      keyboards/levinson/rev1/config.h
  37. 1 1
      keyboards/levinson/rev2/config.h
  38. 3 5
      keyboards/lily58/rev1/config.h
  39. 1 1
      keyboards/meira/config.h
  40. 1 1
      keyboards/minidox/keymaps/alairock/config.h
  41. 1 1
      keyboards/minidox/keymaps/that_canadian/config.h
  42. 1 1
      keyboards/minidox/keymaps/xyverz/config.h
  43. 1 3
      keyboards/mint60/config.h
  44. 3 4
      keyboards/miuni32/config.h
  45. 1 3
      keyboards/nyquist/rev1/config.h
  46. 1 1
      keyboards/nyquist/rev2/config.h
  47. 0 3
      keyboards/orthodox/rev1/config.h
  48. 1 3
      keyboards/orthodox/rev3/config.h
  49. 1 3
      keyboards/orthodox/rev3_teensy/config.h
  50. 1 1
      keyboards/preonic/keymaps/zach/config.h
  51. 1 3
      keyboards/qwertyydox/config.h
  52. 1 3
      keyboards/qwertyydox/rev1/config.h
  53. 1 3
      keyboards/redox/rev1/config.h
  54. 1 2
      keyboards/the_ruler/config.h
  55. 1 3
      keyboards/vitamins_included/rev1/config.h
  56. 1 3
      keyboards/viterbi/rev1/config.h
  57. 1 1
      keyboards/wavelet/config.h
  58. 1 3
      keyboards/zen/rev1/config.h

+ 0 - 3
drivers/avr/ws2812.h

@@ -69,7 +69,4 @@ void ws2812_sendarray_mask(uint8_t *array,uint16_t length, uint8_t pinmask);
 #define CONCAT_EXP(a, b)   CONCAT(a, b)
 #endif
 
-// #define ws2812_PORTREG  CONCAT_EXP(PORT,ws2812_port)
-// #define ws2812_DDRREG   CONCAT_EXP(DDR,ws2812_port)
-
 #endif /* LIGHT_WS2812_H_ */

+ 1 - 3
keyboards/6ball/config.h

@@ -39,11 +39,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN F7
-#define RGBLIGHT_TIMER
+
 #define RGBLIGHT_ANIMATIONS
 #define RGBLED_NUM 6    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /* COL2ROW or ROW2COL */
 #define DIODE_DIRECTION COL2ROW

+ 1 - 3
keyboards/9key/config.h

@@ -39,10 +39,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN F7
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 1    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /* COL2ROW or ROW2COL */
 #define DIODE_DIRECTION COL2ROW

+ 0 - 3
keyboards/amj40/keymaps/default/rules.mk

@@ -18,9 +18,6 @@ RGBLIGHT_ENABLE  = yes  # Enable WS2812 RGB underlight.
 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
 
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
-
 
 ifndef QUANTUM_DIR
 	include ../../../../Makefile

+ 1 - 9
keyboards/amj40/keymaps/fabian/rules.mk

@@ -1,5 +1,5 @@
 # Build Options
-#   change to "no" to disable the options, or define them in the Makefile in 
+#   change to "no" to disable the options, or define them in the Makefile in
 #   the appropriate keymap folder that will get included automatically
 #
 BOOTMAGIC_ENABLE = no  # Virtual DIP switch configuration(+1000)
@@ -17,11 +17,3 @@ RGBLIGHT_ENABLE  = yes  # Enable WS2812 RGB underlight.
 
 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
-
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
-
-
-ifndef QUANTUM_DIR
-	include ../../../../Makefile
-endif

+ 0 - 8
keyboards/amj40/keymaps/jetpacktuxedo/rules.mk

@@ -17,11 +17,3 @@ RGBLIGHT_ENABLE  = no  # Enable WS2812 RGB underlight.
 
 # Do not enable SLEEP_LED_ENABLE. It uses the same timer as BACKLIGHT_ENABLE
 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
-
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
-
-
-ifndef QUANTUM_DIR
-	include ../../../../Makefile
-endif

+ 1 - 9
keyboards/amj40/keymaps/myee/rules.mk

@@ -1,5 +1,5 @@
 # Build Options
-#   change to "no" to disable the options, or define them in the Makefile in 
+#   change to "no" to disable the options, or define them in the Makefile in
 #   the appropriate keymap folder that will get included automatically
 #
 BOOTMAGIC_ENABLE = no  # Virtual DIP switch configuration(+1000)
@@ -17,11 +17,3 @@ RGBLIGHT_ENABLE  = yes  # Enable WS2812 RGB underlight.
 
 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
-
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
-
-
-ifndef QUANTUM_DIR
-	include ../../../../Makefile
-endif

+ 1 - 1
keyboards/bfo9000/config.h

@@ -53,7 +53,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN B4
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 20    // Number of LEDs
 
 /*

+ 1 - 4
keyboards/blockey/config.h

@@ -51,11 +51,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN B1
-#define RGBLIGHT_TIMER
-#define RGBLED_NUM 4
-#define ws2812_PORTREG  PORTB
-#define ws2812_DDRREG   DDRB
 
+#define RGBLED_NUM 4
 #define RGBLIGHT_HUE_STEP 10
 #define RGBLIGHT_SAT_STEP 17
 

+ 1 - 3
keyboards/chocopad/config.h

@@ -47,9 +47,7 @@
 #define RGBLIGHT_VAL_STEP 8
 #endif
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 4
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 #endif

+ 1 - 3
keyboards/crkbd/rev1/config.h

@@ -57,10 +57,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 2 - 4
keyboards/deltasplit75/v2/config.h

@@ -61,10 +61,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options
@@ -85,4 +83,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_FUNCTION
 
 
-#endif
+#endif

+ 1 - 3
keyboards/dilly/config.h

@@ -50,9 +50,7 @@
 #define RGBLIGHT_VAL_STEP 8
 #endif
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 10
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 #endif

+ 1 - 3
keyboards/ergo42/rev1/config.h

@@ -66,10 +66,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 3
keyboards/ergodash/mini/config.h

@@ -73,10 +73,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 20    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 3
keyboards/ergodash/rev1/config.h

@@ -63,10 +63,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 24    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 3
keyboards/ergodash/rev2/config.h

@@ -70,10 +70,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 24    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 4
keyboards/ergotravel/rev1/config.h

@@ -61,10 +61,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options
@@ -83,4 +81,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_ONESHOT
 //#define NO_ACTION_MACRO
 //#define NO_ACTION_FUNCTION
-

+ 1 - 1
keyboards/fortitude60/rev1/config.h

@@ -66,7 +66,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* ws2812 RGB LED */
 #ifdef RGBLIGHT_ENABLE
   #define RGB_DI_PIN B5
-  #define RGBLIGHT_TIMER
+  
   #define RGBLED_NUM 18    // Number of LEDs */
 #endif
 /*

+ 1 - 3
keyboards/fourier/rev1/config.h

@@ -56,11 +56,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLIGHT_ANIMATIONS
 #define RGBLED_NUM 14    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 3 - 10
keyboards/gh60/keymaps/dbroqua/config.h

@@ -158,26 +158,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
 /*
  * RGB Underglow
  * These settings are for the F4 by default:
- * 
  *
- * #define ws2812_PORTREG  PORTF
- * #define ws2812_DDRREG   DDRF
+ *
  * #define ws2812_pin PF4
  * #define RGBLED_NUM 14     // Number of LEDs
  * #define RGBLIGHT_HUE_STEP 10
  * #define RGBLIGHT_SAT_STEP 17
  * #define RGBLIGHT_VAL_STEP 17
  *
- * The firmware supports 5 different light effects, and the color (hue, saturation, brightness) can be customized in most effects. 
- * To control the underglow, you need to modify your keymap file to assign those functions to some keys/key combinations. 
+ * The firmware supports 5 different light effects, and the color (hue, saturation, brightness) can be customized in most effects.
+ * To control the underglow, you need to modify your keymap file to assign those functions to some keys/key combinations.
  * For details, please check this keymap. keyboard/planck/keymaps/yang/keymap.c
 */
 
-/* Deprecated code below
-#define ws2812_PORTREG  PORTF 
-#define ws2812_DDRREG   DDRF
-#define ws2812_pin PF4
-*/ 
 #define RGB_DI_PIN F4
 #define RGBLIGHT_ANIMATIONS
 #define RGBLED_NUM 11         // Number of LEDs

+ 3 - 10
keyboards/gh60/keymaps/robotmaxtron/config.h

@@ -161,26 +161,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
 /*
  * RGB Underglow
  * These settings are for the F4 by default:
- * 
  *
- * #define ws2812_PORTREG  PORTF
- * #define ws2812_DDRREG   DDRF
+ *
  * #define ws2812_pin PF4
  * #define RGBLED_NUM 14     // Number of LEDs
  * #define RGBLIGHT_HUE_STEP 10
  * #define RGBLIGHT_SAT_STEP 17
  * #define RGBLIGHT_VAL_STEP 17
  *
- * The firmware supports 5 different light effects, and the color (hue, saturation, brightness) can be customized in most effects. 
- * To control the underglow, you need to modify your keymap file to assign those functions to some keys/key combinations. 
+ * The firmware supports 5 different light effects, and the color (hue, saturation, brightness) can be customized in most effects.
+ * To control the underglow, you need to modify your keymap file to assign those functions to some keys/key combinations.
  * For details, please check this keymap. keyboard/planck/keymaps/yang/keymap.c
 */
 
-/* Deprecated code below
-#define ws2812_PORTREG  PORTF 
-#define ws2812_DDRREG   DDRF
-#define ws2812_pin PF4
-*/ 
 #define RGB_DI_PIN F4
 #define RGBLIGHT_ANIMATIONS
 #define RGBLED_NUM 8         // Number of LEDs

+ 1 - 3
keyboards/handwired/dactyl_manuform/config.h

@@ -53,7 +53,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
 
 
@@ -74,5 +74,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_ONESHOT
 //#define NO_ACTION_MACRO
 //#define NO_ACTION_FUNCTION
-
-

+ 0 - 2
keyboards/handwired/qc60/proto/config.h

@@ -10,5 +10,3 @@
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
 #define RGBLED_NUM 1    // Number of LEDs
-// #define ws2812_PORTREG  PORTD
-// #define ws2812_DDRREG   DDRD

+ 1 - 3
keyboards/helix/pico/config.h

@@ -83,10 +83,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 //#define RGBLED_NUM 12    // Number of LEDs. see ./keymaps/default/config.h
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 // Helix keyboard RGB LED support
 //#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no

+ 1 - 4
keyboards/helix/rev1/config.h

@@ -74,11 +74,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
-#define RGBLED_NUM 12    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
+#define RGBLED_NUM 12    // Number of LEDs
 /*
  * Feature disable options
  *  These options are also useful to firmware size reduction.

+ 1 - 3
keyboards/helix/rev2/config.h

@@ -87,10 +87,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 //#define RGBLED_NUM 12    // Number of LEDs. see ./keymaps/default/config.h
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 // Helix keyboard RGB LED support
 //#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no

+ 1 - 1
keyboards/iris/rev1/config.h

@@ -63,7 +63,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
 
 /*

+ 1 - 1
keyboards/iris/rev1_led/config.h

@@ -63,7 +63,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
 
 /*

+ 1 - 1
keyboards/iris/rev2/config.h

@@ -63,7 +63,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
 
 /*

+ 1 - 1
keyboards/iris/rev3/config.h

@@ -63,7 +63,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN F7
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
 
 /*

+ 1 - 3
keyboards/lets_split/keymaps/zer09/config.h

@@ -52,8 +52,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* ws2812 RGB LED */
 #undef RGBLED_NUM
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 50
-#define ws2812_PORTREG PORTD
-#define ws2812_DDRREG DDRD
 #endif

+ 1 - 3
keyboards/lets_split/rev1/config.h

@@ -60,10 +60,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 16    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 3
keyboards/lets_split/rev2/config.h

@@ -60,10 +60,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 3
keyboards/lets_split/sockets/config.h

@@ -60,10 +60,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D4
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /* Audio settings */
 #ifdef AUDIO_ENABLE

+ 1 - 1
keyboards/levinson/rev1/config.h

@@ -53,7 +53,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
 
 /* Backlight LEDs */

+ 1 - 1
keyboards/levinson/rev2/config.h

@@ -53,7 +53,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
 
 /* Backlight LEDs */

+ 3 - 5
keyboards/lily58/rev1/config.h

@@ -24,7 +24,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* USB Device descriptor parameter */
 #define VENDOR_ID       0xFC51
-#define PRODUCT_ID      0x0058 
+#define PRODUCT_ID      0x0058
 #define DEVICE_VER      0x0100
 #define MANUFACTURER    F_YUUCHI
 #define PRODUCT         Lily58
@@ -62,10 +62,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 14    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options
@@ -83,4 +81,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_TAPPING
 //#define NO_ACTION_ONESHOT
 //#define NO_ACTION_MACRO
-//#define NO_ACTION_FUNCTION
+//#define NO_ACTION_FUNCTION

+ 1 - 1
keyboards/meira/config.h

@@ -42,7 +42,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #ifdef RGBLIGHT_ENABLE
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 15    // Number of LEDs
 #endif
 

+ 1 - 1
keyboards/minidox/keymaps/alairock/config.h

@@ -30,7 +30,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D7
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 8   // Number of LEDs
 #define RGBLIGHT_ANIMATIONS
 #define RGBLIGHT_HUE_STEP 10

+ 1 - 1
keyboards/minidox/keymaps/that_canadian/config.h

@@ -29,7 +29,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D7
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 8   // Number of LEDs
 #define RGBLIGHT_ANIMATIONS
 #define RGBLIGHT_HUE_STEP 10

+ 1 - 1
keyboards/minidox/keymaps/xyverz/config.h

@@ -29,7 +29,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D7
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 8   // Number of LEDs
 #define RGBLIGHT_ANIMATIONS
 #define RGBLIGHT_HUE_STEP 10

+ 1 - 3
keyboards/mint60/config.h

@@ -152,10 +152,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 8
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 #define RGBLIGHT_HUE_STEP 10
 #define RGBLIGHT_SAT_STEP 17

+ 3 - 4
keyboards/miuni32/config.h

@@ -24,7 +24,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define VENDOR_ID       0xFEED
 #define PRODUCT_ID      0x6060
 #define DEVICE_VER      0x0001
-#define MANUFACTURER    Bigtuna.io 
+#define MANUFACTURER    Bigtuna.io
 #define PRODUCT         Miuni32
 #define DESCRIPTION     A custom keyboard for writers
 
@@ -48,7 +48,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* COL2ROW or ROW2COL */
 #define DIODE_DIRECTION ROW2COL
- 
+
 // #define BACKLIGHT_PIN B7
 // #define BACKLIGHT_BREATHING
 // #define BACKLIGHT_LEVELS 3
@@ -159,9 +159,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_MACRO
 //#define NO_ACTION_FUNCTION
 
-#define RGBLIGHT_TIMER 
+
 #define RGB_DI_PIN D0     // The pin your RGB strip is wired to
-#define RGBLIGHT_TIMER    // Require for fancier stuff (not compatible with audio)
 #define RGBLED_NUM 7     // Number of LEDs
 #define RGBLIGHT_ANIMATIONS
 #define RGBLIGHT_HUE_STEP 10

+ 1 - 3
keyboards/nyquist/rev1/config.h

@@ -61,10 +61,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 16    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 1
keyboards/nyquist/rev2/config.h

@@ -58,7 +58,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 16    // Number of LEDs
 
 /* Backlight LEDs */

+ 0 - 3
keyboards/orthodox/rev1/config.h

@@ -70,10 +70,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 //#define RGB_DI_PIN D3
-//#define RGBLIGHT_TIMER
 //#define RGBLED_NUM 16    // Number of LEDs
-//#define ws2812_PORTREG  PORTD
-//#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 3
keyboards/orthodox/rev3/config.h

@@ -75,10 +75,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 //#define RGB_DI_PIN D3
-//#define RGBLIGHT_TIMER
+
 //#define RGBLED_NUM 16    // Number of LEDs
-//#define ws2812_PORTREG  PORTD
-//#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 3
keyboards/orthodox/rev3_teensy/config.h

@@ -67,10 +67,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 //#define RGB_DI_PIN D3
-//#define RGBLIGHT_TIMER
+
 //#define RGBLED_NUM 16    // Number of LEDs
-//#define ws2812_PORTREG  PORTD
-//#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 1
keyboards/preonic/keymaps/zach/config.h

@@ -65,7 +65,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 //#define RGB_DI_PIN D1
-//#define RGBLIGHT_TIMER
+
 //#define RGBLED_NUM 28     // Number of LEDs
 //#define RGBLIGHT_HUE_STEP 10
 //#define RGBLIGHT_SAT_STEP 17

+ 1 - 3
keyboards/qwertyydox/config.h

@@ -64,10 +64,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D6
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 3
keyboards/qwertyydox/rev1/config.h

@@ -64,10 +64,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D6
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 
 /*

+ 1 - 3
keyboards/redox/rev1/config.h

@@ -62,10 +62,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 14    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 2
keyboards/the_ruler/config.h

@@ -155,9 +155,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_MACRO
 //#define NO_ACTION_FUNCTION
 
-#define RGBLIGHT_TIMER 
+
 #define RGB_DI_PIN E6     // The pin your RGB strip is wired to
-#define RGBLIGHT_TIMER    // Require for fancier stuff (not compatible with audio)
 #define RGBLED_NUM 1      // Number of LEDs
 #define RGBLIGHT_ANIMATIONS
 #define RGBLIGHT_HUE_STEP 10

+ 1 - 3
keyboards/vitamins_included/rev1/config.h

@@ -59,10 +59,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN F0
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 16    // Number of LEDs
-#define ws2812_PORTREG  PORTF
-#define ws2812_DDRREG   DDRF
 #define RGBLIGHT_ANIMATIONS
 
 /* Audio settings */

+ 1 - 3
keyboards/viterbi/rev1/config.h

@@ -61,10 +61,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 16    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options

+ 1 - 1
keyboards/wavelet/config.h

@@ -53,7 +53,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D3
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 12    // Number of LEDs
 
 /* Backlight LEDs */

+ 1 - 3
keyboards/zen/rev1/config.h

@@ -65,10 +65,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* ws2812 RGB LED */
 #define RGB_DI_PIN D1
-#define RGBLIGHT_TIMER
+
 #define RGBLED_NUM 16    // Number of LEDs
-#define ws2812_PORTREG  PORTD
-#define ws2812_DDRREG   DDRD
 
 /*
  * Feature disable options